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

Disallowing specific html tags

1 Answer 8 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Angie
Top achievements
Rank 1
Angie asked on 19 Aug 2013, 08:36 PM
Hello.  Is there a way to tell the editor to block certain html tags such as embed, object, iframe, img, etc?    I've got AllowScripts = false turned on, and that works for blocking <script> tags, but I would like to be able to block other tags as well.

Thank you!

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 22 Aug 2013, 07:25 AM
Hi Angie,

You can create a custom filter that will remove the desired content: http://demos.telerik.com/aspnet-ajax/editor/examples/contentfilters/defaultcs.aspx.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Editor
Asked by
Angie
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or