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

RadEditor - clear all except links

1 Answer 23 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Bartosz Malinowski
Top achievements
Rank 1
Bartosz Malinowski asked on 04 Feb 2016, 12:46 PM

Hi,

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

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 09 Feb 2016, 07:33 AM
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

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