From e66cfe659a5d856b0ff53aa1d28015207a58d567 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Tue, 13 Sep 2022 17:55:19 +0100 Subject: [PATCH] Mark which attributes of the embed should be considered content (#44039) --- packages/block-library/src/embed/block.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/block-library/src/embed/block.json b/packages/block-library/src/embed/block.json index 7257b54cf20fa..e36768cd72780 100644 --- a/packages/block-library/src/embed/block.json +++ b/packages/block-library/src/embed/block.json @@ -8,18 +8,22 @@ "textdomain": "default", "attributes": { "url": { - "type": "string" + "type": "string", + "__experimentalRole": "content" }, "caption": { "type": "string", "source": "html", - "selector": "figcaption" + "selector": "figcaption", + "__experimentalRole": "content" }, "type": { - "type": "string" + "type": "string", + "__experimentalRole": "content" }, "providerNameSlug": { - "type": "string" + "type": "string", + "__experimentalRole": "content" }, "allowResponsive": { "type": "boolean", @@ -27,11 +31,13 @@ }, "responsive": { "type": "boolean", - "default": false + "default": false, + "__experimentalRole": "content" }, "previewable": { "type": "boolean", - "default": true + "default": true, + "__experimentalRole": "content" } }, "supports": {