Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14552 closed Bug (invalid)

"Paste" button from clipboard don't work in firefox lts (38) with CCK2 plugin

Reported by: Ilya Shumilov Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


Button "paste" from clipboard does not work correctly after update CKeditor from 4.3.3 to latest 4.5.7 version.

We used Firefox 38 LTS on Debian 7/8 as default in our corporate network. Access to the clipboard was configured using the firefox's plugin cck2 (

It works perfectly with all operations (copy, cup and past).

After update:

1) "copy" and "cut" work properly;

2) "paste" throws message about deny access to clipboard.

Other details (browser, OS, CKEditor version, installed plugins)

We used Linux Debian 7/8 with Mozilla Firefox LTS (38) and CCK2 plugin for configuration clipboard access.

Change History (3)

comment:1 Changed 8 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 4.5.7

From what I have checked, pasting works as expected in default CKEditor 4.5.7 and demo version.

The plugin cck2 was not created by CKSource and if you have problems with CKEditor only when using this plugin, I think you should rather report this issue to plugin authors.

Because of the above I will need to close this ticket as invalid but if I have misunderstood you or you disagree, please leave a comment and I will consider reopening this ticket.

comment:2 Changed 8 years ago by Ilya Shumilov

Yes, cck2 plugin was not created by CKSource, but problem appeared after updating CKEditor, not cck2.

Situation's details:

Before using cck2 plugin: firefox block all operations with clipboard by default security policy.

With cck2 plugin we added next code to Firefox's user profile:

pref("capability.policy.policynames", "allowclipboard");
pref("capability.policy.allowclipboard.sites", "");
pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
pref("capability.policy.allowclipboard.cutcopy", "allAccess");
pref("capability.policy.allowclipboard.paste", "allAccess");

After that Firefox allow all operations with clipboard in CKEditor 4.3.3.

And, finaly, after update CKEditor to 4.5.7 Firefox allow cut, copy operation with clipboard, but block pasting.

comment:3 Changed 8 years ago by Jakub Ś

Yes, cck2 plugin was not created by CKSource, but problem appeared after updating CKEditor, not cck2.

Our goal is to make CKEditor work with default browser and not adjusting it to some custom browser plugin. Because of that we will not investigate this issue.

Having said that, you could try checking this issue on your own. Currently you modify FF profile with the help of CCK2 but this has no influence on pasting in CKEditor.
You must know that starting from CKEditor 4.5.0 we have dropped our custom pastebin and started using HTML clipboard API (adjusted to our needs) for Firefox and Chrome (IE still uses pastebin). You could try checking when this problem started occurring. My guess is that it is from 4.5.0. Next (provided that problem started in 4.5.0) you could check plugin documentation (if there is any) or with plugin author if there is any special setting you could use for clipboard API pasting.

It is weird though that CCK2 works with cut and copy. We have introduced clipboard API for them as well. Perhaps there are special restrictions for pasting which cck2 can work around or they are simply not “workaroundable”.

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