From a589aaab6992ec0c313a8829e108cc7ead73f9a1 Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Mon, 17 Oct 2022 16:52:13 +0300 Subject: [PATCH] Marks block selection toggle in ListView as experimental. --- packages/block-editor/src/components/list-view/index.js | 4 ++-- packages/block-library/src/navigation/edit/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/block-editor/src/components/list-view/index.js b/packages/block-editor/src/components/list-view/index.js index 5c3cfec1596143..ba671c23e27e0a 100644 --- a/packages/block-editor/src/components/list-view/index.js +++ b/packages/block-editor/src/components/list-view/index.js @@ -55,7 +55,7 @@ export const BLOCK_LIST_ITEM_HEIGHT = 36; * @param {Array} props.blocks Custom subset of block client IDs to be used instead of the default hierarchy. * @param {boolean} props.showBlockMovers Flag to enable block movers * @param {boolean} props.isExpanded Flag to determine whether nested levels are expanded by default. - * @param {boolean} props.selectBlockInCanvas Flag to determine whether the list view should be a block selection mechanism,. + * @param {boolean} props.__experimentalSelectBlockInCanvas Flag to determine whether the list view should be a block selection mechanism,. * @param {Object} ref Forwarded ref */ function ListView( @@ -64,7 +64,7 @@ function ListView( blocks, showBlockMovers = false, isExpanded = false, - selectBlockInCanvas = true, + __experimentalSelectBlockInCanvas: selectBlockInCanvas = true, }, ref ) { diff --git a/packages/block-library/src/navigation/edit/index.js b/packages/block-library/src/navigation/edit/index.js index 1d6bff236d79ff..df036cf43cd7bd 100644 --- a/packages/block-library/src/navigation/edit/index.js +++ b/packages/block-library/src/navigation/edit/index.js @@ -686,7 +686,7 @@ function Navigation( { ) } @@ -870,7 +870,7 @@ function Navigation( { ) }