Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Yoast and Classic Editor Conflict

$
0
0

Replies: 0

There is a conflict which causes the classic editor to not allow for the visual editor to be used. After debugging with the Health Check plugin I narrowed the conflict specifically between Yoast and Classic Editor. Classic Editor works just fine with every other plugin and my custom theme enabled but when I switch to a base theme and no other plugins enabled other than those two the conflict persists. Here is my config:

WordPress 5.4
Classic Editor Version 1.5
Yoast Version 13.5
PHP 7.3.16
*note I am also using Advanced Custom Fields Version 5.8.9 but the issue persists when thats not active.

The issue seems specific to TinyMCE not initializing. Here are the console errors I receive when trying to edit a page:

post.php?post=5517&action=edit:5198 Uncaught SyntaxError: Invalid or unexpected token
post.php?post=5517&action=edit:5224 Uncaught ReferenceError: tinyMCEPreInit is not defined
    at post.php?post=5517&action=edit:5224
    at post.php?post=5517&action=edit:5247
(anonymous) @ post.php?post=5517&action=edit:5224
(anonymous) @ post.php?post=5517&action=edit:5247
editor.min.js?ver=5.4:2 Uncaught TypeError: Cannot read property 'mceInit' of undefined
    at r (editor.min.js?ver=5.4:2)
    at HTMLDocument.<anonymous> (editor.min.js?ver=5.4:2)
    at C (tinymce.min.js?ver=4960-20190918:2)
    at HTMLDocument.d (tinymce.min.js?ver=4960-20190918:2)

Thanks in advance for any support with this.


Viewing all articles
Browse latest Browse all 59525

Trending Articles