From 3966da5745027c9bedde31c5ab721c29ae4cc5df Mon Sep 17 00:00:00 2001 From: Eugene Nunan Date: Wed, 12 Jun 2024 14:51:24 +0100 Subject: [PATCH] Fixed ThemeFuse#4352 - tinyMCEPreInit is not defined --- .../option-types/wp-editor/class-fw-option-type-wp-editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/includes/option-types/wp-editor/class-fw-option-type-wp-editor.php b/framework/includes/option-types/wp-editor/class-fw-option-type-wp-editor.php index 838e5026..527eeb11 100644 --- a/framework/includes/option-types/wp-editor/class-fw-option-type-wp-editor.php +++ b/framework/includes/option-types/wp-editor/class-fw-option-type-wp-editor.php @@ -139,7 +139,7 @@ protected function _enqueue_static( $id, $option, $data ) { wp_enqueue_script( 'fw-option-type-' . $this->get_type(), $uri . '/scripts.js', - array( 'jquery', 'fw-events', 'editor', 'fw' ), + array( 'jquery', 'tinymce', 'fw-events', 'editor', 'fw' ), fw()->manifest->get_version(), true );