使用按钮“必须激活哪些Internet Explorer 11安全选项?”;从单词“过去”;关于CKEditor 4.5.4

使用按钮“必须激活哪些Internet Explorer 11安全选项?”;从单词“过去”;关于CKEditor 4.5.4,ckeditor,internet-explorer-11,copy-paste,Ckeditor,Internet Explorer 11,Copy Paste,对于InternetExplorer11,按钮“从word过去”在ckeditor demo()上不起作用。内容只是直接粘贴,而不是表单 您知道要使用CKEditor 4.5.4上的“从word通过”按钮,必须激活哪些安全选项吗 Regads事实上,默认情况下,CKEditor配置为从粘贴的文本中删除字体样式(在大多数情况下,这是一种理想的行为) 如果希望在从Word粘贴时“保留”样式,则需要为CKEditor部署自定义配置 CKEDITOR.editorConfig = function( c

对于InternetExplorer11,按钮“从word过去”在ckeditor demo()上不起作用。内容只是直接粘贴,而不是表单

您知道要使用CKEditor 4.5.4上的“从word通过”按钮,必须激活哪些安全选项吗


Regads

事实上,默认情况下,CKEditor配置为从粘贴的文本中删除字体样式(在大多数情况下,这是一种理想的行为)

如果希望在从Word粘贴时“保留”样式,则需要为CKEditor部署自定义配置

CKEDITOR.editorConfig = function( config ) {
    config.pasteFromWordRemoveFontStyles=false;
    config.pasteFromWordRemoveStyles=false;
}