The DevExpress ASP.NET HTML Editor (ASPxHtmlEditor) provides you with the ability to filter content elements. You can specify filter rules for tags, attributes, and style attributes.
For every element type, the ASPxHtmlEditor control provides a property listing filtered elements (Tags, Attributes, and StyleAttributes), and a property specifying a filter mode (TagFilterMode, AttributeFilterMode, and StyleAttributeFilterMode).
The filter mode properties can be set to one of the following values.
- WhiteList - the specified elements are allowed and will be maintained; other elements will be removed.
- BlackList - the specified elements are prohibited and will be removed; other elements will be maintained.
In this demo, you can use the editors above the ASPxHtmlEditor control to customize the content filter settings, apply them, and see the result.