diff --git a/packages/editor/src/components/provider/disable-non-page-content-blocks.js b/packages/editor/src/components/provider/disable-non-page-content-blocks.js index 95295574c56a86..ffbf1ac0625463 100644 --- a/packages/editor/src/components/provider/disable-non-page-content-blocks.js +++ b/packages/editor/src/components/provider/disable-non-page-content-blocks.js @@ -84,9 +84,6 @@ export default function DisableNonPageContentBlocks() { setBlockEditingMode( clientId, 'contentOnly' ); } } - for ( const clientId of disabledIds ) { - setBlockEditingMode( clientId, 'disabled' ); - } } ); return () => { @@ -98,7 +95,7 @@ export default function DisableNonPageContentBlocks() { } } ); }; - }, [ templateParts, isNavigationMode, registry, disabledIds ] ); + }, [ templateParts, isNavigationMode, registry ] ); useEffect( () => { const { setBlockEditingMode, unsetBlockEditingMode } =