Hello,
I'm using CKEditor 3.6.4, no 3rd party addons. Problem occurs on Google Chrome 21.0.1180.89 with default settings.
When I select a text within the editor, and select the "copy" command from the context menu, the browser shows an alert box.
It's in Dutch, roughly translated it says
"The security settings of the browser prevent automatically copying. Use the keyboard shortcut Ctr / Cmd + C."
I have googled and searched for this but did not find anything useful about this problem.
Does anyone know how to fix this? (either in browser settings or in code)
Thanks in advance!
I'm using CKEditor 3.6.4, no 3rd party addons. Problem occurs on Google Chrome 21.0.1180.89 with default settings.
When I select a text within the editor, and select the "copy" command from the context menu, the browser shows an alert box.
It's in Dutch, roughly translated it says
"The security settings of the browser prevent automatically copying. Use the keyboard shortcut Ctr / Cmd + C."
I have googled and searched for this but did not find anything useful about this problem.
Does anyone know how to fix this? (either in browser settings or in code)
Thanks in advance!
Re: Copy/Paste with mouse error on Chrome
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Copy/Paste with mouse error on Chrome
Weird, I don't remember ever getting this notice in the past.
I'm on a mac, but I guess there'll be some internet security settings somewhere as well
Re: Copy/Paste with mouse error on Chrome
After doublechecking, I now find this error on firefox and safari as well.
Re: Copy/Paste with mouse error on Chrome
We show this alert, because there's no way to put content into the clipboard. It's a security limitation, which makes some sense, but also completely breaks custom copy functionality triggered by non-native events (there's a cool W3's name for these kinds of events, but I forgot it :).
Thus, for paste triggered by our context menu we show dialog with "paste area" and for copy/cut only alert, because we can't do anything else.
Only on IEs it's possible to directly access clipboard, but you've got to accept IE's native security alert first. This is cool and IMHO should become a part of standard, because it's the only reasonable solution of this serious problem.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Copy/Paste with mouse error on Chrome
Do you know of an option or setting where these items in the context menu can be hidden when they're not available on the browser?
Re: Copy/Paste with mouse error on Chrome
I haven't tested it for a long time, but this extension used to make easy enabling the clipboard operations in Firefox: https://addons.mozilla.org/en-US/firefo ... rd-helper/