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": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"caption": {
|
|
|
|
"type": "string",
|
|
|
|
"source": "html",
|
|
|
|
"selector": "figcaption"
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"providerNameSlug": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"allowResponsive": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"responsive": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"previewable": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|