Skip to content

Commit

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

const {
Toolbar,
Expand Down Expand Up @@ -66,6 +68,8 @@ export default registerBlockType(
}

},
example: {
},

/**
* I could get some part of the Style Variations to work but could not get
Expand Down

0 comments on commit c34503b

Please sign in to comment.