wp/wp-includes/blocks/post-featured-image/block.json
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/wp-includes/blocks/post-featured-image/block.json	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/blocks/post-featured-image/block.json	Fri Sep 05 18:52:52 2025 +0200
@@ -9,7 +9,8 @@
 	"attributes": {
 		"isLink": {
 			"type": "boolean",
-			"default": false
+			"default": false,
+			"role": "content"
 		},
 		"aspectRatio": {
 			"type": "string"
@@ -30,11 +31,13 @@
 		"rel": {
 			"type": "string",
 			"attribute": "rel",
-			"default": ""
+			"default": "",
+			"role": "content"
 		},
 		"linkTarget": {
 			"type": "string",
-			"default": "_self"
+			"default": "_self",
+			"role": "content"
 		},
 		"overlayColor": {
 			"type": "string"
@@ -58,6 +61,9 @@
 		}
 	},
 	"usesContext": [ "postId", "postType", "queryId" ],
+	"example": {
+		"viewportWidth": 350
+	},
 	"supports": {
 		"align": [ "left", "right", "center", "wide", "full" ],
 		"color": {