Skip to content

Commit

Permalink
Do not use the deprecated package editor for InnerBlocks component (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahjouba91 authored and mkaz committed Jan 24, 2020
1 parent 0470286 commit 282687b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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', {} ],
Expand Down

0 comments on commit 282687b

Please sign in to comment.