Skip to content

Commit

Permalink
Fixing the inner block link (#8476)
Browse files Browse the repository at this point in the history
Update link to inner blocks
  • Loading branch information
Ipstenu authored and ajitbohra committed Aug 4, 2018
1 parent e493909 commit 426f484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/block-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ transforms: {

* **Type:** `Array`

Blocks are able to be inserted into blocks that use [`InnerBlocks`](https://github.com/WordPress/gutenberg/blob/master/editor/components/inner-blocks/README.md) as nested content. Sometimes it is useful to restrict a block so that it is only available as a nested block. For example, you might want to allow an 'Add to Cart' block to only be available within a 'Product' block.
Blocks are able to be inserted into blocks that use [`InnerBlocks`](https://github.com/WordPress/gutenberg/blob/master/packages/editor/src/components/inner-blocks/README.md) as nested content. Sometimes it is useful to restrict a block so that it is only available as a nested block. For example, you might want to allow an 'Add to Cart' block to only be available within a 'Product' block.

Setting `parent` lets a block require that it is only available when nested within the specified blocks.

Expand Down

0 comments on commit 426f484

Please sign in to comment.