Javascript error breaks TinyMCE editor
-
Your plugin generates a Javascript error:
Can't find variable: addFascToEditorThe TinyMCE button is added everywhere but the script is only loaded in certain areas.
Since other plugins or the theme may want to use wp_tiny_mce() in other areas, your plugin generates a Javascript error outside the post/page editing screens.
It adds it’s TinyMCE button everywhere on the editor but it only loads it’s scripts on post/page editing screens. Since other plugins or the theme may want to use the editor in other places using wp_tiny_mce() function, it should either load it’s scripts with TinyMCE at all times or only add the button to the editor where it’s scripts are loaded.
The topic ‘Javascript error breaks TinyMCE editor’ is closed to new replies.