diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/blocks/post-featured-image/block.json --- a/wp/wp-includes/blocks/post-featured-image/block.json Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/blocks/post-featured-image/block.json Tue Sep 27 16:37:53 2022 +0200 @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "name": "core/post-featured-image", "title": "Post Featured Image", @@ -9,12 +10,34 @@ "isLink": { "type": "boolean", "default": false + }, + "width": { + "type": "string" + }, + "height": { + "type": "string" + }, + "scale": { + "type": "string", + "default": "cover" + }, + "sizeSlug": { + "type": "string" } }, "usesContext": [ "postId", "postType", "queryId" ], "supports": { "align": [ "left", "right", "center", "wide", "full" ], - "html": false + "color": { + "__experimentalDuotone": "img, .wp-block-post-featured-image__placeholder, .components-placeholder__illustration, .components-placeholder::before", + "text": false, + "background": false + }, + "html": false, + "spacing": { + "margin": true, + "padding": true + } }, "editorStyle": "wp-block-post-featured-image-editor", "style": "wp-block-post-featured-image"