Is anyone familiar with this error? It is causing TinyMCE to break in my WordPress theme.
In console it gives me these two errors both seem to originate from wp-admin/post-new.php
Uncaught ReferenceError:switchEditors is not defined
Uncaught TypeError: undefined is not a function /wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,…editor,quickt&load%5B%5D=ags,wplink,wp-fullscreen,media-upload&ver=3.9.1:2
Both the Visual and Smart tabs break, becoming unclickable, and the TinyMCE toolbar disappears.
4 s
it might me entirely different solution that i am providing but it solved the problem for me.
I followed these steps:
- Open the user that is getting error. (WordPress admin menu > users > your profile)
- Changed the setting of “Disable the visual editor when writing” and saved the settings
- Again disabled this feature and saved the settings
- Boom. my editor is back.
Maybe it could solve someone else problem.
Regards,
Rao