Support for Multiple TinyMCE editors
-
Hey there,
I work at SkyVerge where we develop WooCommerce extensions. A customer using our Memberships extension noticed that tagaroo tag suggesting does not work when our plugin is active. It always gives the
tagaroo needs at least 64 characters to start searching for tagserror regardless of how long the post content is.It looks like the last TinyMCE editor is loaded by your plugin and assumed to be the main content of the post. However, when Memberships is active, the last TinyMCE instance would not be the content of the post. I suspect a similar issue would exist with other plugins that add a Tiny MCE editor to the post edit screen.
A simple solution would be to edit both
js/mce/mce2/editor_plugin.jsandjs/mce/mce3/editor_plugin.jsand tweak theinitInstance()method with something like:if ( 'content' === instance.id ) { oc.rte = instance; }Thanks,
Tamara
The topic ‘Support for Multiple TinyMCE editors’ is closed to new replies.