Skip to content

Commit

Permalink
Fix: Remove parent block selector while in Write mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Nov 28, 2024
1 parent c845cda commit fe1fae7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export default function BlockParentSelector() {
isVisible:
_parentClientId &&
getBlockEditingMode( _parentClientId ) !== 'disabled' &&
getBlockEditingMode( selectedBlockClientId ) !==
'contentOnly' &&
hasBlockSupport(
_parentBlockType,
'__experimentalParentSelector',
Expand Down

0 comments on commit fe1fae7

Please sign in to comment.