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

前端 未结 2 469
忘掉有多难
忘掉有多难 2021-01-26 17:59

I am using the standard demos, like this. So, the main options (little changes) can be flagged at config.js.

Example when edit by source-code-HTML (button

2条回答
  •  后悔当初
    2021-01-26 18:25

    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.

提交回复
热议问题