Skip to content

Commit

Permalink
Update packages/block-editor/src/components/inner-blocks/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian authored May 15, 2023
1 parent 784bffb commit 259a23d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@ For example, a button block, deeply nested in several levels of block `X` that u
### `prioritizedInserterBlocks`

- **Type:** `Array`
- **Default:** - `undefined`. Determines which inner blocks should be returned first from the block inserter. For example, when inserting a block within the Navigation Block, `core/navigation-link` and `core/navigation-link/page` are the most commonly used inner blocks. We can use `prioritizedInserterBlocks` to pass these `navigation-link` blocks as an array so they can be returned first by default from the Navigation Block inserter.
- **Default:** - `undefined`. Determines which block types should be shown in the block inserter. For example, when inserting a block within the Navigation block we specify `core/navigation-link` and `core/navigation-link/page` as these are the most commonly used inner blocks. `prioritizedInserterBlocks` takes an array of the form {blockName}/{variationName}, where {variationName} is optional.

0 comments on commit 259a23d

Please sign in to comment.