mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
c3ea09ebb8
It contains several changes in addition to regular update to WordPress packages: - All newly exposed blocks are now registered on the server. - Dutone block support was added. - Border block support was updated. - New shared function `construct_wp_query_args` was added for the family of Query blocks - it might need some further work. Props youknowriad. See #52991. Built from https://develop.svn.wordpress.org/trunk@50929 git-svn-id: http://core.svn.wordpress.org/trunk@50538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
42 lines
760 B
JSON
42 lines
760 B
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/embed",
|
|
"title": "Embed",
|
|
"category": "embed",
|
|
"description": "Add a block that displays content pulled from other sites, like Twitter, Instagram or YouTube.",
|
|
"textdomain": "default",
|
|
"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": {
|
|
"align": true
|
|
},
|
|
"editorStyle": "wp-block-embed-editor",
|
|
"style": "wp-block-embed"
|
|
}
|