From 76f1eee7ffa67fd73cacd50e7c5970316c1dbb41 Mon Sep 17 00:00:00 2001 From: Florian TIAR Date: Fri, 24 Jan 2020 15:52:16 +0100 Subject: [PATCH] Do not use the deprecated package editor for InnerBlocks component --- .../developers/block-api/block-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/designers-developers/developers/block-api/block-templates.md b/docs/designers-developers/developers/block-api/block-templates.md index b2b384a96e211f..49279a86595ed1 100644 --- a/docs/designers-developers/developers/block-api/block-templates.md +++ b/docs/designers-developers/developers/block-api/block-templates.md @@ -37,7 +37,7 @@ The following example in JavaScript creates a new block using [InnerBlocks](/pac ```js const el = wp.element.createElement; const { registerBlockType } = wp.blocks; -const { InnerBlocks } = wp.editor; +const { InnerBlocks } = wp.blockEditor; const BLOCKS_TEMPLATE = [ [ 'core/image', {} ],