Remove CKEdit Instance

前端 未结 3 675
旧巷少年郎
旧巷少年郎 2021-01-03 22:20

I can\'t seem to destroy instances of CKEdit per the documentation.

Consider the following:

&l         


        
相关标签:
3条回答
  • 2021-01-03 22:49

    Simple solution

    CKEDITOR.instances['textareaId'].destory()

    0 讨论(0)
  • 2021-01-03 22:52

    You must use hEd.destroy (editor.destroy()).

    CKEDITOR.remove() is for internal use as stated in the API.

    0 讨论(0)
  • 2021-01-03 22:59

    You must use:

    <textarea name="tx1" id="tx1" rows="15" cols="106"></textarea>
    

    CKEDITOR.instances['tx1'] = false;

    0 讨论(0)
提交回复
热议问题