diff --git a/wp-includes/blocks/embed/block.json b/wp-includes/blocks/embed/block.json new file mode 100644 index 0000000000..34d8838770 --- /dev/null +++ b/wp-includes/blocks/embed/block.json @@ -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 + } +} diff --git a/wp-includes/blocks/index.php b/wp-includes/blocks/index.php index d4482718c1..75ab6e7fef 100644 --- a/wp-includes/blocks/index.php +++ b/wp-includes/blocks/index.php @@ -33,6 +33,7 @@ function register_core_block_types_from_metadata() { 'code', 'column', 'columns', + 'embed', 'file', 'gallery', 'group', diff --git a/wp-includes/version.php b/wp-includes/version.php index f38a340045..435a2cec24 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.