This is a migrated thread and some comments may be shown as answers.

Paste into Kendo Editor

2 Answers 81 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sali
Top achievements
Rank 1
Sali asked on 12 Aug 2019, 08:42 PM

Hello

 

I am trying to implement this paste feature(https://alligator.io/js/async-clipboard-api/) into the kendo editor, however it doesn't appear to work. I am able to paste content into a regular textarea just not the kendo editor. Any advice would be greatly appreciated.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Ianko
Telerik team
answered on 14 Aug 2019, 11:44 AM
Hi Sali,

If your intention is to paste some text into the Editor, you can do that directly using the API: https://docs.telerik.com/kendo-ui/api/javascript/ui/editor/methods/paste

Apart from that, the Kendo Editor, although created using textarea, it is not a textarea element. To execute a paste you should use the iframe's documented generated. However, I would recommend using the Editor API or such needs. 

Regards,
Ianko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Sali
Top achievements
Rank 1
answered on 14 Aug 2019, 11:46 AM
Thanks Lanko!
Tags
Editor
Asked by
Sali
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Sali
Top achievements
Rank 1
Share this question
or