From 81812dcede69574cec143a8c17943713cbbd65a1 Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Thu, 27 May 2021 23:05:07 +0800 Subject: [PATCH] Fix incorrect supports property in block index file (#32262) --- packages/edit-widgets/src/blocks/widget-area/block.json | 3 ++- packages/edit-widgets/src/blocks/widget-area/index.js | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/edit-widgets/src/blocks/widget-area/block.json b/packages/edit-widgets/src/blocks/widget-area/block.json index fdec21c57e931..48ffa6b0d0871 100644 --- a/packages/edit-widgets/src/blocks/widget-area/block.json +++ b/packages/edit-widgets/src/blocks/widget-area/block.json @@ -14,7 +14,8 @@ "inserter": false, "customClassName": false, "reusable": false, - "__experimentalToolbar": false + "__experimentalToolbar": false, + "__experimentalParentSelector": false }, "editorStyle": "wp-block-widget-area-editor", "style": "wp-block-widget-area" diff --git a/packages/edit-widgets/src/blocks/widget-area/index.js b/packages/edit-widgets/src/blocks/widget-area/index.js index f62dedda3c5e5..326705421ee0a 100644 --- a/packages/edit-widgets/src/blocks/widget-area/index.js +++ b/packages/edit-widgets/src/blocks/widget-area/index.js @@ -16,9 +16,5 @@ export const settings = { title: __( 'Widget Area' ), description: __( 'A widget area container.' ), __experimentalLabel: ( { name: label } ) => label, - supports: { - // Should show the parent selector for its children or not. Defaults to true. - __experimentalParentSelector: false, - }, edit, };