diff --git a/packages/block-editor/src/components/block-inspector/index.js b/packages/block-editor/src/components/block-inspector/index.js index 37db430c300c0..259f4742febcd 100644 --- a/packages/block-editor/src/components/block-inspector/index.js +++ b/packages/block-editor/src/components/block-inspector/index.js @@ -30,12 +30,13 @@ const BlockInspector = ( { selectedBlockClientId, selectedBlockName, showNoBlockSelectedMessage = true, + bubblesVirtually = true, } ) => { if ( count > 1 ) { return (
- +
); } @@ -79,10 +80,11 @@ const BlockInspector = ( { ) } - +
@@ -90,7 +92,7 @@ const BlockInspector = ( { ); }; -const AdvancedControls = ( { slotName } ) => { +const AdvancedControls = ( { slotName, bubblesVirtually } ) => { const slot = useSlot( slotName ); const hasFills = Boolean( slot.fills && slot.fills.length ); @@ -104,7 +106,9 @@ const AdvancedControls = ( { slotName } ) => { title={ __( 'Advanced' ) } initialOpen={ false } > - + ); }; diff --git a/packages/edit-navigation/src/components/navigation-editor/block-editor-area.js b/packages/edit-navigation/src/components/navigation-editor/block-editor-area.js index e5cefd6b6117c..2bb3fe8569629 100644 --- a/packages/edit-navigation/src/components/navigation-editor/block-editor-area.js +++ b/packages/edit-navigation/src/components/navigation-editor/block-editor-area.js @@ -110,7 +110,9 @@ export default function BlockEditorArea( { label="Block inspector" /> ) } - renderContent={ () => } + renderContent={ () => ( + + ) } />