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

49 lines
1020 B
JSON
Raw 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",
2020-12-10 14:06:04 +01:00
"apiVersion": 2,
"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",
"__experimentalRole": "content"
2020-12-10 14:06:04 +01:00
},
"caption": {
"type": "string",
"source": "html",
2023-04-26 17:39:43 +02:00
"selector": "figcaption",
"__experimentalRole": "content"
2020-12-10 14:06:04 +01:00
},
"type": {
2023-04-26 17:39:43 +02:00
"type": "string",
"__experimentalRole": "content"
2020-12-10 14:06:04 +01:00
},
"providerNameSlug": {
2023-04-26 17:39:43 +02:00
"type": "string",
"__experimentalRole": "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,
"__experimentalRole": "content"
2020-12-10 14:06:04 +01:00
},
"previewable": {
"type": "boolean",
2023-04-26 17:39:43 +02:00
"default": true,
"__experimentalRole": "content"
2020-12-10 14:06:04 +01:00
}
},
"supports": {
2021-04-27 08:32:47 +02:00
"align": true
},
"editorStyle": "wp-block-embed-editor",
"style": "wp-block-embed"
2020-12-10 14:06:04 +01:00
}