diff --git a/packages/block-editor/src/hooks/index.js b/packages/block-editor/src/hooks/index.js index 26d1d1ad12bc0b..385b9fe6b1511e 100644 --- a/packages/block-editor/src/hooks/index.js +++ b/packages/block-editor/src/hooks/index.js @@ -23,7 +23,7 @@ import border from './border'; import position from './position'; import layout from './layout'; import childLayout from './layout-child'; -import './content-lock-ui'; +import contentLockUI from './content-lock-ui'; import './metadata'; import customFields from './custom-fields'; import blockHooks from './block-hooks'; @@ -38,6 +38,7 @@ createBlockEditFilter( duotone, position, layout, + contentLockUI, window.__experimentalConnections ? customFields : null, blockHooks, blockRenaming, diff --git a/packages/block-editor/src/hooks/utils.js b/packages/block-editor/src/hooks/utils.js index cd342af00d1a55..27c5c346458d21 100644 --- a/packages/block-editor/src/hooks/utils.js +++ b/packages/block-editor/src/hooks/utils.js @@ -418,12 +418,14 @@ export function createBlockEditFilter( features ) { neededProps[ key ] = props.attributes[ key ]; } } + return (