mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-12 06:43:20 +01:00
Editor: Expose the embed
core block on the server.
Props ntsekouras, gziolo. Fixes #51531. Built from https://develop.svn.wordpress.org/trunk@49210 git-svn-id: http://core.svn.wordpress.org/trunk@48972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e209e00734
commit
18d3866ab2
37
wp-includes/blocks/embed/block.json
Normal file
37
wp-includes/blocks/embed/block.json
Normal file
@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "core/embed",
|
||||
"category": "embed",
|
||||
"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,
|
||||
"reusable": false,
|
||||
"html": false
|
||||
}
|
||||
}
|
@ -33,6 +33,7 @@ function register_core_block_types_from_metadata() {
|
||||
'code',
|
||||
'column',
|
||||
'columns',
|
||||
'embed',
|
||||
'file',
|
||||
'gallery',
|
||||
'group',
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-alpha-49209';
|
||||
$wp_version = '5.6-alpha-49210';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user