Support » Plugin: tagaroo » 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 tags error 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.js and js/mce/mce3/editor_plugin.js and tweak the initInstance() method with something like:

    if ( 'content' === instance.id ) {
    	oc.rte = instance;
    }

    Thanks,

    Tamara

    https://wordpress.org/plugins/tagaroo/

  • The topic ‘Support for Multiple TinyMCE editors’ is closed to new replies.