#9325 closed Bug (invalid)
FF:Can't paste plain text by right-click when forcePasteAsPlainText= true
Reported by: | dongqiuhong | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.6.4 |
Keywords: | Cc: |
Description
forcePasteAsPlainText is true, FF version is 15.0.1
I debug it and find that the problem is clipboard plugin.
in getClipboardData method , 226 line,
Wait a while and grab the pasted contents
window.setTimeout( function() { ...},0);
when exeute these codes, paste will be exeuted directly,and can't grab the pasted contents.
If i use ctrl+V ,it's ok.
Change History (4)
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
I get ckeditor by
var ck = $("textarea.class").ckeditor({
height: 60, skin: 'v2', toolbar: [], resize_enabled: false, toolbarCanCollapse : false, removePlugins: 'elementspath, contextmenu, sourcearea, menubutton, image, forms, button, link', toolbarLocation: 'bottom', forcePasteAsPlainText: true, browserContextMenuOnCtrl:false, enterMode: CKEDITOR.ENTER_BR,
});
and I hope it can paste plain text by right-click and crl+V without editor's contextmenu plugin and paste as plain text dialog plugin , it acts like textarea
comment:3 Changed 12 years ago by
I can't get error , but I can't paste plain text by right click . It pastes formatted text. It's fine by Ctrl+V on FF.IE and Chrome is both ok by right-click and Ctrl+V.
comment:4 Changed 12 years ago by
I have checked again and there is no problem with pasting. Try to clear cache in FF and try again - http://support.mozilla.org/en-US/kb/how-clear-firefox-cache.
If this doesn't help then perhaps your customizations have done this. In that case try with default CKEditor and add new customizations one by one to see which one is causing errors.
Sure you can. I've just did that. Perhaps you haven't refreshed the cache (CRTL+F5 may be not enough).
In config.js set config.forcePasteAsPlainText=true;, refresh the cache and then use right-click paste - force as plain text dialog will pop out.
I'm closing this issue as I think it is invalid. If you think otherwise please provide exact step by step scenario explaining what to do to get the error and whet the error is (what do you get in editor and what did you expected).