Show theme settings Shopping cart Download trialFree Trial
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.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxHTMLEditorDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxHTMLEditorDemos