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

Copy HTML content from one editor to another

1 Answer 9 Views
Editor
This is a migrated thread and some comments may be shown as answers.
amarbir
Top achievements
Rank 1
amarbir asked on 05 Nov 2018, 02:08 PM

Hi,

I am trying to enable user to copy content from one RadEditor to another RadEditor as html (so if editor 1 has some formatting (list, colors etc.) it will display exactly the same in editor2). I cannot seem to find a way. Default ctrl+c/Copy button on toolbar and ctrl+v/paste button only copies text and looses all formatting.

 

I need some help urgent.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Nov 2018, 02:44 PM
Hi Amarbir,

Can you set the StripFormattingOptions property of both editors to NoneSupressCleanMessage and test again?

For your convenience I have attached a video demonstrating that the formatting gets untouched when pasted in the second editor.

Regards,
Rumen
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.
Tags
Editor
Asked by
amarbir
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or