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) 发布评论: 提交评论 加载中... 自定义标题段落格式字体字号代码语言点击上传x 验证码 看不清? 提交回复
Simple solution
CKEDITOR.instances['textareaId'].destory()
You must use hEd.destroy (editor.destroy()).
CKEDITOR.remove() is for internal use as stated in the API.
You must use:
<textarea name="tx1" id="tx1" rows="15" cols="106"></textarea>
CKEDITOR.instances['tx1'] = false;
热议问题