Skip to content

Commit

Permalink
Show inner block controller blocks in block navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen committed Aug 12, 2020
1 parent 6d17f20 commit ce31556
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ export default compose(
} = select( 'core/block-editor' );
const selectedBlockClientId = getSelectedBlockClientId();
return {
rootBlocks: getBlocks(),
rootBlocks: getBlocks( '', true ),
rootBlock: selectedBlockClientId
? getBlock(
getBlockHierarchyRootClientId( selectedBlockClientId )
getBlockHierarchyRootClientId( selectedBlockClientId ),
true
)
: null,
selectedBlockClientId,
Expand Down

0 comments on commit ce31556

Please sign in to comment.