Expand my Community achievements bar.

SOLVED

copy and cut features of edit plugin of richtexteditor are not working

Avatar

Level 7

 Hi,

I have followed http://dev.day.com/docs/en/cq/current/administering/configuring_rich_text_editor.html and configured copy and cut features to "edit" plugin. Whenever I clicked on copy/cut tools after selecting some text, I'm getting the following error in browser console -

TypeError: this.editorKernel is undefined
    
else if (e.message == "Cannot copy.") {
this.editorKernel.getDialogManager().alert(
CUI.rte.Utils.i18n("Copy"),
CUI.rte.Utils.i18n("Could not copy due to security restrictions of the browser.<br>Please use Ctrl+C to copy directly."),
CUI.rte.Utils.scope(this.deferFocus, this));
}

I tried to pasted it but it is not getting pasted the selected text. Is it browser related issue or something else? Please help me in this. Your comments are welcome. I'm using Adobe Experience Manager (5.6.1.20130606).

Thanks,

Arya.

1 Accepted Solution

Avatar

Correct answer by
Level 6

Grant it the Clipboard access.

http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard

Google on the same thing for Chrome.

/Ove

View solution in original post

4 Replies

Avatar

Level 6

What browser are you using? Have seen this on IE sometimes.

/Ove

Avatar

Level 7

I'm using Firefox new version. I haven't tested it in IE.

Avatar

Level 7

I have tested in IE. Its working fine. What I have to do to make it work in FF and Google chrome?

Avatar

Correct answer by
Level 6

Grant it the Clipboard access.

http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard

Google on the same thing for Chrome.

/Ove