2020-10-19 16:57:07 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-10-19 16:57:07 -04:00
|
|
|
"name": "core/embed",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Embed",
|
2020-10-19 16:57:07 -04:00
|
|
|
"category": "embed",
|
2021-11-08 09:29:21 -05:00
|
|
|
"description": "Add a block that displays content pulled from other sites, like Twitter or YouTube.",
|
2021-05-19 11:09:27 -04:00
|
|
|
"textdomain": "default",
|
2020-10-19 16:57:07 -04:00
|
|
|
"attributes": {
|
|
|
|
"url": {
|
2023-02-07 02:04:52 -05:00
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
2020-10-19 16:57:07 -04:00
|
|
|
},
|
|
|
|
"caption": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "html",
|
2023-02-07 02:04:52 -05:00
|
|
|
"selector": "figcaption",
|
|
|
|
"__experimentalRole": "content"
|
2020-10-19 16:57:07 -04:00
|
|
|
},
|
|
|
|
"type": {
|
2023-02-07 02:04:52 -05:00
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
2020-10-19 16:57:07 -04:00
|
|
|
},
|
|
|
|
"providerNameSlug": {
|
2023-02-07 02:04:52 -05:00
|
|
|
"type": "string",
|
|
|
|
"__experimentalRole": "content"
|
2020-10-19 16:57:07 -04:00
|
|
|
},
|
|
|
|
"allowResponsive": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"responsive": {
|
|
|
|
"type": "boolean",
|
2023-02-07 02:04:52 -05:00
|
|
|
"default": false,
|
|
|
|
"__experimentalRole": "content"
|
2020-10-19 16:57:07 -04:00
|
|
|
},
|
|
|
|
"previewable": {
|
|
|
|
"type": "boolean",
|
2023-02-07 02:04:52 -05:00
|
|
|
"default": true,
|
|
|
|
"__experimentalRole": "content"
|
2020-10-19 16:57:07 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
2021-01-27 21:04:13 -05:00
|
|
|
"align": true
|
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-embed-editor",
|
|
|
|
"style": "wp-block-embed"
|
2020-10-19 16:57:07 -04:00
|
|
|
}
|