내 커뮤니티 업적 표시줄을 확대합니다.

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