Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
Add wp-editor dependency
Browse files Browse the repository at this point in the history
Fixes #22
  • Loading branch information
mkaz committed Nov 23, 2018
1 parent 753b1d0 commit 30b254b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function mkaz_code_syntax_editor_assets() {
wp_enqueue_script(
'mkaz-code-syntax',
plugins_url( $block_path, __FILE__ ),
array( 'wp-blocks', 'wp-element', 'wp-i18n' ),
array( 'wp-blocks', 'wp-editor', 'wp-element', 'wp-i18n' ),
filemtime( plugin_dir_path( __FILE__ ) . $block_path )
);

Expand Down

0 comments on commit 30b254b

Please sign in to comment.