TinyMCE 4 - remove() or destroy()

后端 未结 15 721
抹茶落季
抹茶落季 2020-12-25 12:22

I am using TinyMCE editor. I want to remove or destroy tinymce editors (Page contain more then one editor). Also remove classes and IDs added by tinyMCE.

Bu

15条回答
  •  半阙折子戏
    2020-12-25 13:02

    When using the tiyMCE.init({}) fuction, the answer by @nikmauro works for me, so for every unload of the page, you just trigger the tinymce.get("real_element_id").remove();

    That method works for me.

    BTW, I amusing this version

    //tinymce.cachefly.net/4.1/tinymce.min.js 
    

提交回复
热议问题