CKEditor4 destroy, not preserve original HTML content. How to disable filters?

别说谁变了你拦得住时间么 提交于 2019-12-02 08:48:35

At config.js you can add something like,

  CKEDITOR.config.allowedContent=true;

see "Advanced Content Filter" (ACF) and how to enable/disable it.

We ran into this problem recently, 2017, version 5.5 developing a file load / save plugin and a speech recognition plugin for CKEditor (in progress). The above solutions helped, but also we had to use editor1.setData() to load the content into the editor.

Using select all and insertHTML() or insertText() methods was disrupting tags.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!