HTML Editor - Features Content Element Filtering

Tag Filter Settings
Attribute Filter Settings
Style Attribute Filter Settings
Apply Settings
Reset Html Document
  • 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
  • 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
  • Fore Color

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.

Version: v2017 vol 1.3
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.