Skip to content

Commit

Permalink
Issue #31 - blocklist - InspectorControls now comes from wp.blockEdit…
Browse files Browse the repository at this point in the history
…or. Add example
  • Loading branch information
bobbingwide committed Jan 8, 2020
1 parent ed10191 commit 064d735
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions blocks/oik-blocklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
*
*
* @copyright (C) Copyright Bobbing Wide 2019
* @copyright (C) Copyright Bobbing Wide 2019, 2020
* @author Herb Miller @bobbingwide
*/
import './style.scss';
Expand All @@ -21,9 +21,12 @@ const {
} = wp.blocks;
const {
BlockIcon,
InspectorControls,
ServerSideRender,
} = wp.editor;
const {
InspectorControls,
} = wp.blockEditor;


const {
Toolbar,
Expand Down Expand Up @@ -105,6 +108,8 @@ export default registerBlockType(



},
example: {
},


Expand Down

0 comments on commit 064d735

Please sign in to comment.