diff --git a/packages/block-editor/src/components/block-inspector/index.js b/packages/block-editor/src/components/block-inspector/index.js index 591e47b3b1982..14444c2892874 100644 --- a/packages/block-editor/src/components/block-inspector/index.js +++ b/packages/block-editor/src/components/block-inspector/index.js @@ -132,6 +132,8 @@ const BlockInspectorSingleBlock = ( {
diff --git a/packages/block-editor/src/components/inspector-controls/block-support-tools-panel.js b/packages/block-editor/src/components/inspector-controls/block-support-tools-panel.js index c56db6f3c1d46..450a8351de8e3 100644 --- a/packages/block-editor/src/components/inspector-controls/block-support-tools-panel.js +++ b/packages/block-editor/src/components/inspector-controls/block-support-tools-panel.js @@ -7,11 +7,10 @@ import { useDispatch, useSelect } from '@wordpress/data'; /** * Internal dependencies */ -import { BLOCK_SUPPORT_GROUPS } from './constants'; import { store as blockEditorStore } from '../../store'; import { cleanEmptyObject } from '../../hooks/utils'; -export default function BlockSupportToolsPanel( { group, children } ) { +export default function BlockSupportToolsPanel( { children, label, header } ) { const { clientId, attributes } = useSelect( ( select ) => { const { getBlockAttributes, getSelectedBlockClientId } = select( blockEditorStore @@ -47,8 +46,8 @@ export default function BlockSupportToolsPanel( { group, children } ) { return ( + );