Skip to main content

Content Filtering and Validation

ASPxHtmlEditor has various ways to validate, filter, and correct its content.

  • HTML Validation

    The editor automatically validates HTML markup and removes all potentially harmful code (for instance, unknown tags and attributes, script elements, client-side event handlers, URLs with script content, and so on).

  • Content Element Filtering

    The editor allows you to filter content elements. You can specify filter rules for tags, attributes, and style attributes.

  • Paste Formatting

    The editor enables you to automatically format the pasted HTML content.

  • Content Validation

    The editor allows you to implement custom HTML markup validation logic. In addition, you can enable client-side or server-side content validation.