在replace()中设置时,CKEditor forceAsPasteAsPlainText不工作

在replace()中设置时,CKEditor forceAsPasteAsPlainText不工作,ckeditor,Ckeditor,我有一个CKEditor 3.6.3的实例,设置如下: CKEDITOR.replace("notice_text", { toolbar : "Mini", enterMode : CKEDITOR.ENTER_BR, fillEmptyBlocks : false,

我有一个CKEditor 3.6.3的实例,设置如下:

CKEDITOR.replace("notice_text", {
                                    toolbar : "Mini", 
                                    enterMode : CKEDITOR.ENTER_BR, 
                                    fillEmptyBlocks : false,
                                    forcePasteAsPlainText : true,
                                    skin : "office2003", 
                                    width : 375,
                                    height : 100
                                    });
对于此文本区域:

<textarea id="notice-text" name="notice_text" rows="5"></textarea>
在config.js中设置它会将它应用于站点上的所有ckeditor,我希望它应用于这个
textarea

我看了一下,没有看到任何更新可以解决这个问题


我想您可以在
replace
功能中设置它。这是不可能的,还是我遗漏了什么?

删除插件:“pastefromword”
添加到配置中

CKEDITOR.replace("notice_text", {
                                    toolbar : "Mini", 
                                    enterMode : CKEDITOR.ENTER_BR, 
                                    fillEmptyBlocks : false,
                                    forcePasteAsPlainText : true,
                                    skin : "office2003", 
                                    removePlugins :  "pastefromword" ,  
                                    width : 375,
                                    height : 100
                                    });

此强制在配置中存在plugin
pastetext
,而在中不存在
pastefromword
。再次运行==>它的工作

您是否尝试过更新到最新的CKEditor 3.6.x?我相信我看到这个问题在不久前得到了解决。Reinmar我看到他们解决了Firefox和
forcePasteAsPlainText
的一个问题,但更新可能是我的下一步。谢谢
CKEDITOR.replace("notice_text", {
                                    toolbar : "Mini", 
                                    enterMode : CKEDITOR.ENTER_BR, 
                                    fillEmptyBlocks : false,
                                    forcePasteAsPlainText : true,
                                    skin : "office2003", 
                                    removePlugins :  "pastefromword" ,  
                                    width : 375,
                                    height : 100
                                    });