How to call Omeka.wysiwyg() twice

We have created a plugin called OmekaFootnotesJS that can be used on simple pages. Omeka.wysiwyg() is already called once in SimplePages. However, as we need to reset timyMCE params, we need to call Omeka.wysiwyg() again. It seems that it is not possible to call tinyMCE.init twice. If you call this function again, it will not update tinyMCE.
Does anyone know how to get around this problem? Thanks!

So you’re looking to just change the settings on the existing editor box, to add a plugin or something like that?

I think if you use the TinyMCE remove() method to take away the existing editor you should be able to call init again and have those settings take effect.

1 Like

This topic was automatically closed after 250 days. New replies are no longer allowed.