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
Update packages/block-editor/src/components/block-tools/block-context…
…ual-toolbar.js

Co-authored-by: Robert Anderson <[email protected]>
  • Loading branch information
donnapep and noisysocks committed May 29, 2021
commit 81e328d946d4b654f7574ab386885c05e848a04c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function BlockContextualToolbar( { focusOnMount, isFixed, ...props } ) {
blockType:
selectedBlockClientId &&
getBlockType( getBlockName( selectedBlockClientId ) ),
hasParents: getBlockParents( selectedBlockClientId ).length,
hasParents: parents.length,
showParentSelector: hasBlockSupport(
parentBlockType,
'__experimentalParentSelector',
Expand Down