Skip to content

Commit

Permalink
Issue #28 - add dependencies on wp-components and wp-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Nov 19, 2018
1 parent b7fdbc7 commit a4300e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oik-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ function oik_block_register_editor_scripts() {
wp_register_script( $name,
plugins_url( $blockPath, __FILE__ ),
// [],
[ 'wp-blocks', 'wp-element' ],
[ 'wp-blocks', 'wp-element', 'wp-components', 'wp-editor' ],
filemtime( plugin_dir_path(__FILE__) . $blockPath )
);
}
Expand Down

0 comments on commit a4300e3

Please sign in to comment.