Skip to content

Commit

Permalink
Block Locking: Remove edit locking for Patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Nov 15, 2024
1 parent 2e4b8d8 commit a2a01e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/block-lock/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import useBlockDisplayInformation from '../use-block-display-information';
import { store as blockEditorStore } from '../../store';

// Entity based blocks which allow edit locking
const ALLOWS_EDIT_LOCKING = [ 'core/block', 'core/navigation' ];
const ALLOWS_EDIT_LOCKING = [ 'core/navigation' ];

function getTemplateLockValue( lock ) {
// Prevents all operations.
Expand Down

0 comments on commit a2a01e9

Please sign in to comment.