Skip to content

Commit

Permalink
Update docs suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Fonseca <[email protected]>
  • Loading branch information
ntsekouras and mcsf committed Apr 13, 2021
1 parent edd5588 commit 5b505ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/block-editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1898,11 +1898,11 @@ export const __experimentalGetPatternTransformItems = createSelector(
( state, blocks, rootClientId = null ) => {
if ( ! blocks ) return EMPTY_ARRAY;
/**
* For now we only hanlde blocks without InnerBlocks and take into account
* the `role` property of block's attributes for the transformation.
* Noting that blocks have been retrieved through `getBlock`, that doen't
* return the child inner blocks of an inner block controller, so we still
* need to check for this case too.
* For now we only handle blocks without InnerBlocks and take into account
* the `role` property of blocks' attributes for the transformation. Note
* that the blocks have been retrieved through `getBlock`, which doesn't
* return the inner blocks of an inner block controller, so we still need
* to check for this case too.
*/
if (
blocks.some(
Expand Down

0 comments on commit 5b505ec

Please sign in to comment.