From fbf3c786bf3bca199a1228e9043509e31ec311bc Mon Sep 17 00:00:00 2001 From: "Ipstenu (Mika Epstein)" Date: Fri, 3 Aug 2018 17:21:50 -0700 Subject: [PATCH] Fixing the inner block link The link moved and no one updated this. --- docs/block-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/block-api.md b/docs/block-api.md index 011e2741e32dfb..4becdbe0d67376 100644 --- a/docs/block-api.md +++ b/docs/block-api.md @@ -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.