Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/block-editor/src/components/inner-blocks/index.js
Co-authored-by: Ben Dwyer <[email protected]>
  • Loading branch information
draganescu and scruffian authored Apr 22, 2024
commit 83b757228e7d705ea0ec108c8010bc67b5f814cc
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export function useInnerBlocksProps( props = {}, options = {} ) {

// in zoom out mode, we want to disable the drop zone for the sections.
// the inner blocks belonging to the section drop zone is
// already disabled by the blocks themselves being disabled
// already disabled by the blocks themselves being disabled.
let _isDropZoneDisabled = blockEditingMode === 'disabled';
if ( __unstableGetEditorMode() === 'zoom-out' ) {
const { sectionRootClientId } = unlock( getSettings() );
Expand Down