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