kollapsminoriteten/wp-includes/blocks/embed/block.json

55 lines
1.0 KiB
JSON
Raw Permalink Normal View History

2020-12-10 14:06:04 +01:00
{
2022-06-16 14:03:35 +02:00
"$schema": "https://schemas.wp.org/trunk/block.json",
2023-09-26 10:33:34 +02:00
"apiVersion": 3,
2020-12-10 14:06:04 +01:00
"name": "core/embed",
2021-07-23 11:58:50 +02:00
"title": "Embed",
2020-12-10 14:06:04 +01:00
"category": "embed",
2022-04-02 10:26:41 +02:00
"description": "Add a block that displays content pulled from other sites, like Twitter or YouTube.",
2021-07-23 11:58:50 +02:00
"textdomain": "default",
2020-12-10 14:06:04 +01:00
"attributes": {
"url": {
2023-04-26 17:39:43 +02:00
"type": "string",
2025-02-28 08:42:11 +01:00
"role": "content"
2020-12-10 14:06:04 +01:00
},
"caption": {
2024-04-17 11:32:24 +02:00
"type": "rich-text",
"source": "rich-text",
2023-04-26 17:39:43 +02:00
"selector": "figcaption",
2025-02-28 08:42:11 +01:00
"role": "content"
2020-12-10 14:06:04 +01:00
},
"type": {
2023-04-26 17:39:43 +02:00
"type": "string",
2025-02-28 08:42:11 +01:00
"role": "content"
2020-12-10 14:06:04 +01:00
},
"providerNameSlug": {
2023-04-26 17:39:43 +02:00
"type": "string",
2025-02-28 08:42:11 +01:00
"role": "content"
2020-12-10 14:06:04 +01:00
},
"allowResponsive": {
"type": "boolean",
"default": true
},
"responsive": {
"type": "boolean",
2023-04-26 17:39:43 +02:00
"default": false,
2025-02-28 08:42:11 +01:00
"role": "content"
2020-12-10 14:06:04 +01:00
},
"previewable": {
"type": "boolean",
2023-04-26 17:39:43 +02:00
"default": true,
2025-02-28 08:42:11 +01:00
"role": "content"
2020-12-10 14:06:04 +01:00
}
},
"supports": {
2023-09-26 10:33:34 +02:00
"align": true,
"spacing": {
"margin": true
2024-04-17 11:32:24 +02:00
},
"interactivity": {
"clientNavigation": true
2023-09-26 10:33:34 +02:00
}
2021-04-27 08:32:47 +02:00
},
"editorStyle": "wp-block-embed-editor",
"style": "wp-block-embed"
2020-12-10 14:06:04 +01:00
}