コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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 受け入れられたソリューション

Avatar

正解者
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

元の投稿で解決策を見る

4 返信

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

正解者
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