From 30b254bfb00381a6f1bd20e17ca14931211dfe65 Mon Sep 17 00:00:00 2001 From: Marcus Kazmierczak Date: Fri, 23 Nov 2018 08:23:56 -0800 Subject: [PATCH] Add wp-editor dependency Fixes #22 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index b744ecd..d37edc6 100644 --- a/index.php +++ b/index.php @@ -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 ) );