RadEditor - clear all except links

2 posts, 0 answers
  1. Paweł Żurek
    Paweł  Żurek avatar
    2 posts
    Member since:
    Oct 2009

    Posted 04 Feb 2016 Link to this post


    Is it possible to RadEditor cleaned everything but the links when pasting from Word? I have StripFormattingOnPaste="AllExceptNewLines"

  2. Ianko
    Ianko avatar
    1738 posts

    Posted 09 Feb 2016 Link to this post

    Hi Paweł,

    There is no utility that can achieve this exact requirement. What you can do is to handle the OnClientPasteHtml event and implement your own stripping logic.  

    I have just created new article on the topic. It will be life shortly, but for the time being you might find its source helpful—https://github.com/telerik/ajax-docs/blob/master/controls/editor/how-to/strip-html-on-paste.md

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top