I think tinymce.remove(id) was the api for v3 - it didn't appear to be working in our app which was causing some weirdness with event handlers. v4 moved remove to the EditorManager object which is what I used here. In our app this change keeps tinymce.editors.length to 1.
I think
tinymce.remove(id)
was the api for v3 - it didn't appear to be working in our app which was causing some weirdness with event handlers. v4 moved remove to theEditorManager
object which is what I used here. In our app this change keepstinymce.editors.length
to 1.