Visual Editor Tab Broken
-
Hi,
I’m having a real nightmare trying to debug an issue on a WordPress Woocommerce website. At some point the Visual Editor tab on the classic editor on both pages and Woocommerce Products has stopped working. I’ve tried all the obvious fixes including the following:– Deactivating all plugins and switching to Twenty Twenty Theme
– Checking profile setting ‘disable visual editor’ is unchecked (have also tried checking/unchecking)
– Adding the line define(‘CONCATENATE_SCRIPTS’, false ); to wp-config
– Reuploading the tinymce folder to the wp-includes/js directory
– Reinstalling WordPress
– Installing the Advanced Tiny MCE pluginIn the browser console it shows the following error:
Uncaught SyntaxError: Invalid or unexpected token
post.php?post=23835&action=edit:2429 Uncaught ReferenceError: tinyMCEPreInit is not defined
at post.php?post=23835&action=edit:2429
at post.php?post=23835&action=edit:2437
2post.php?post=23835&action=edit:2392 Uncaught ReferenceError: tinyMCEPreInit is not defined
at HTMLDocument.initialize (post.php?post=23835&action=edit:2392)
8editor.min.js?ver=5.8.2:2 Uncaught TypeError: Cannot read properties of undefined (reading ‘mceInit’)
at n (editor.min.js?ver=5.8.2:2)
at HTMLDocument.<anonymous> (editor.min.js?ver=5.8.2:2)
at C (tinymce.min.js?ver=49110-20201110:2)
at HTMLDocument.d (tinymce.min.js?ver=49110-20201110:2)Any further help would be greatly appreciated.
- The topic ‘Visual Editor Tab Broken’ is closed to new replies.