How to enable copy , cut for Rich Text editors
I have a rich-text with cut , copy options but when i try to cut or copy it gives me the following error - Your browser's security settings don't permit the editor to execute cut operations. Please use the keyboard shortcut (Ctrl/Cmd+X).
I have tried editing the user.js and almost all the solutions given related to it here but still it doesn't seem to work.
Please Please Please give me some solution for this.
Svi odgovori (4)
Are you not able to use the text editer to access anything displayed with Firefox, for instance this forum, or is it only specific file locations that are affected.
What is the software you are using, and have you tried any other alternatives.
And can you give a very simple example of something you try to do and can not.
See also
- This article seems likely to be highly relevant http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
- Aimed more at developers themselves https://developer.mozilla.org/en-US/docs/Using_the_Clipboard
- If it is particular domains or file locations, and is a change since Firefox 29 then this article may be applicable https://developer.mozilla.org/en-US/Firefox/Releases/29/Site_Compatibility#Security
Use keyboard shortcuts or the right-click context menu if the buttons on the web page or other methods aren't working.
- Copy: Ctrl+C or Ctrl+Insert (Mac: Command + C)
- Paste: Ctrl+V or Shift+Insert (Mac: Command + V)
- Cut: Ctrl+X or Shift+Delete (Mac: Command + X)
Hi john99
I am using a CMS (Adobe CQ5) to be precise and it has a rich text Editor.
I have tried these two options but to no avail.
This article seems likely to be highly relevant http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
https://addons.mozilla.org/firefox/addon/allowclipboard-helper/
I am gonna attach a screen shot for the same.
Domain policy groups for clipboard was removed from Firefox 29.0. Users can no longer enable via user.js or AllowClipboard Helper. You need to use the keyboard commands.
https://developer.mozilla.org/en-US/Firefox/Releases/29/Site_Compatibility#Security
"The removal of allowclipboard policy support broke the copy/paste buttons on some rich text editors like CKEditor. The standard Clipboard API's click-to-copy support will be implemented in the near future. The general keyboard shortcuts, Ctrl+C and Ctrl+V, should always work."