TinyMCE 4 - remove() or destroy()

后端 未结 15 725
抹茶落季
抹茶落季 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 12:36

    Just in case anybody arrived here who is using the jQuery version of TinyMce use the following instead to remove an instance:

    $("#textarea_id").tinymce().remove();
    

提交回复
热议问题