Copy HTML content from one editor to another

2 posts, 0 answers
  1. amarbir
    amarbir avatar
    7 posts
    Member since:
    Apr 2016

    Posted 05 Nov 2018 Link to this post

    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.

  2. Rumen
    Admin
    Rumen avatar
    14459 posts

    Posted 05 Nov 2018 Link to this post

    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.
Back to Top