Use “pastefromword” Filtering on All Pasted Content in CKEditor 3

前端 未结 2 672
梦如初夏
梦如初夏 2020-12-18 04:04

CKEditor is a great editor and the pastefromword plugin is very good. I\'d like to have the filtering provided by the plugin applied to all pasted text. For example, when pa

相关标签:
2条回答
  • 2020-12-18 04:43

    My solution is now in this blog entry: http://www.keyvan.net/2012/11/clean-up-html-on-paste-in-ckeditor/

    0 讨论(0)
  • 2020-12-18 04:46

    Commenting on a old question: The issue at hand is not just word cleaning in CKEditor. Its also a matter of what the browser does when you ask for clip board content via javascript api. that differs heavily between IE, FF, Safari etc. Typically the non IE browsers will clean up the HTML themself, beofore giving the HTML to the browser. Thus removing a lot of formatting.

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