How to define allowed tags in CKEditor?

前端 未结 6 1441
忘了有多久
忘了有多久 2020-12-08 01:01
  • Sometimes users copy and paste text from different sources to CKEditor, but I want to restrict what tags they can copy to CKEditor.

  • I only need to u

6条回答
  •  悲&欢浪女
    2020-12-08 01:58

    CKEDITOR.config.fullPage = false
    

    Indicates whether the contents to be edited are being input as a full HTML page. A full page includes the , , and elements. The final output will also reflect this setting, including the contents only if this setting is disabled.

提交回复
热议问题