Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Content Element Filtering

  • Cut (Ctrl+X)
  • Copy (Ctrl+C)
  • Paste (Ctrl+V)
  • Paste from Word
  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Remove Format
  • Superscript
  • Subscript
  • Ordered List
  • Bullet List
  • Indent
  • Outdent
  • Insert Link (Ctrl+K)
  • Remove Link (Ctrl+Shift+K)
  • Insert Image (Ctrl+G)
  • Insert Table
    v
  • Find and Replace (Ctrl+H)
  • Full Screen (F11)
  • v
  • v
  • v
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Align Left (Ctrl+L)
  • Align Center (Ctrl+E)
  • Align Right (Ctrl+R)
  • Back Color
    v
  • Fore Color
    v
Tag Filter Settings
v
adivimglipulspanfonttabletbodytdtr
Attribute Filter Settings
v
cellspacingcellpaddinghrefstylesrc
Style Attribute Filter Settings
v
background-colorfloat
Apply Settings
Reset Html Document

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.