How do I remove all tinymce instances at startup?

Viewed 17114

I'm dynamically creating and destroying textareas for this purpose. However, when I create a textarea and then an instance of it in tinymce--then come back to the page again, it doesn't work. I've found that the solution is to simply remove any existing instance of that same name, but I was wondering if it's possible to just do it at startup.

Thanks in advance!

6 Answers

TinyMCE V5

Remove all instances with:

tinymce.remove();

More info see this.

Related