Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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:


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 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Can't paste plain text by right-click when forcePasteAsPlainText= true

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).

comment:2 Changed 11 years ago by dongqiuhong

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

Last edited 11 years ago by dongqiuhong (previous) (diff)

comment:3 Changed 11 years ago by dongqiuhong

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 11 years ago by Jakub Ś

I have checked again and there is no problem with pasting. Try to clear cache in FF and try again -

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy