Skip to content

Commit

Permalink
don't show appender at all inside sections on zoom-out mode (#60948)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera authored Apr 22, 2024
1 parent e6321ba commit fa3a719
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/block-editor/src/components/block-list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,10 @@ function Items( {
visibleBlocks: __unstableGetVisibleBlocks(),
shouldRenderAppender:
hasAppender &&
__unstableGetEditorMode() !== 'zoom-out' &&
( hasCustomAppender
? ! getTemplateLock( rootClientId ) &&
getBlockEditingMode( rootClientId ) !==
'disabled' &&
__unstableGetEditorMode() !== 'zoom-out'
getBlockEditingMode( rootClientId ) !== 'disabled'
: rootClientId === selectedBlockClientId ||
( ! rootClientId &&
! selectedBlockClientId &&
Expand Down

0 comments on commit fa3a719

Please sign in to comment.