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

[Solved] Possible to strip our specific tags?

1 Answer 106 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alvin
Top achievements
Rank 1
Alvin asked on 25 Jun 2008, 07:46 PM
We'd like to strip out specific tags when pasting to the editor.  For example, <FORM></FORM>, <INPUT>,<SELECT>,<SCRIPT></SCRIPT>.

Is there a way to have the editor strip those out on a paste and paste from word action?  i know we can scub the input server side, but would like to do it as the data is being pasted from the client.  Thanks.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Jun 2008, 03:20 PM
Hi Calvin,

Please, find attached a sample javascript example demonstrating how to achieve your strip on paste scenario.

Greetings,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Alvin
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or