Skip to content

Commit

Permalink
remove partial fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Dec 27, 2024
1 parent d090fca commit e5f1422
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/block-editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1878,13 +1878,7 @@ export function canMoveBlock( state, clientId ) {
) {
return false;
}
const rootEditingMode = getBlockEditingMode( state, rootClientId );
const blockEditingMode = getBlockEditingMode( state, clientId );
return (
rootEditingMode !== 'disabled' &&
( rootEditingMode !== 'contentOnly' ||
blockEditingMode !== 'contentOnly' )
);
return getBlockEditingMode( state, rootClientId ) !== 'disabled';
}

/**
Expand Down

0 comments on commit e5f1422

Please sign in to comment.