Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
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
adivfontimglipspantabletbodytdtrul
Attribute Filter Settings
v
cellpaddingcellspacinghrefsrcstyle
Style Attribute Filter Settings
v
background-colorfloat
Apply Changes
Reset Html Document


The DevExpress ASP.NET MVC HTML Editor (HtmlEditor) 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 HtmlEditor 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 HtmlEditor to customize the content filter settings, apply them, and see the result.