diff --git a/packages/block-editor/src/components/block-inspector/index.js b/packages/block-editor/src/components/block-inspector/index.js index 4f1061417b211d..8bfc49e74ae92e 100644 --- a/packages/block-editor/src/components/block-inspector/index.js +++ b/packages/block-editor/src/components/block-inspector/index.js @@ -66,7 +66,7 @@ const BlockInspector = ( { showNoBlockSelectedMessage = true } ) => { return (
- +
); } diff --git a/packages/block-editor/src/components/inspector-controls/block-support-slot-container.js b/packages/block-editor/src/components/inspector-controls/block-support-slot-container.js index fb53e47afbd82e..8b106b0e6321fe 100644 --- a/packages/block-editor/src/components/inspector-controls/block-support-slot-container.js +++ b/packages/block-editor/src/components/inspector-controls/block-support-slot-container.js @@ -4,9 +4,17 @@ import { __experimentalToolsPanelContext as ToolsPanelContext } from '@wordpress/components'; import { useContext } from '@wordpress/element'; -export default function BlockSupportSlotContainer( { Slot, ...props } ) { +export default function BlockSupportSlotContainer( { + Slot, + bubblesVirtually, + ...props +} ) { const toolsPanelContext = useContext( ToolsPanelContext ); return ( - + ); } diff --git a/packages/block-editor/src/components/inspector-controls/slot.js b/packages/block-editor/src/components/inspector-controls/slot.js index 1f30357cf7815e..ab36cf833c00da 100644 --- a/packages/block-editor/src/components/inspector-controls/slot.js +++ b/packages/block-editor/src/components/inspector-controls/slot.js @@ -14,6 +14,7 @@ import groups from './groups'; export default function InspectorControlsSlot( { __experimentalGroup: group = 'default', label, + bubblesVirtually = true, ...props } ) { const Slot = groups[ group ]?.Slot; @@ -31,10 +32,14 @@ export default function InspectorControlsSlot( { if ( label ) { return ( - + ); } - return ; + return ; }