Skip to main content

HTML Editor

  • 3 minutes to read

The HTML Editor enables non-technical users to edit HTML markup in a rich text UI.

The ASPxHtmlEditor class is the server-side HTML Editor, and the ASPxClientHtmlEditor class is its client-side equivalent.

ASPxHtmlEditor_control.png

Features

Design-Time Designer

The designer provides quick access to the editor’s internal collections and properties that are related to the most commonly used features.

Html Validation

ASPxHtmlEditor automatically performs validation and is able to remove all potentially harmful code.

Run Demo

Content Validation

You can implement custom HTML markup validation logic. In addition, you can enable content validation that can be performed on both the client and the server.

Run Demo

Content Element Filtering

You can filter specific tag, attribute, and style attribute elements.

Run Demo

Paste Formatting

ASPxHtmlEditor can automatically format pasted HTML content.

Run Demo

Html Highlighting

Syntax highlighting facilitates working with HTML markup.

Run Demo

Tables

Predefined UI commands allow users to create and modify tables in a document.

Run Demo

Insert Media Content

Explorer-like tools help simplify the way in which users insert images, documents, audio, video, and YouTube video files to editor content.

Run Demo

Toolbar Modes

You can display a toolbar in the HTML Editor as a menu, a ribbon, or an external ribbon.

Run Demo

Placeholders (Mail Merge)

Placeholders allow users to create template documents, which can then be filled with data (for example, from a database).

Run Demo

Tag Inspector

The built-in tag inspector allows users to navigate through tag hierarchy and customize tag properties.

Run Demo

Context Menu

You can select the context menu type to display to users: a browser’s context menu that shows commands specific to the browser, or an editor-generated menu that displays common and context-specific operations. It is also possible to disable the context menu.

Run Demo

Import and Export

With the HTML Editor, you can import and export editor content from/to various document formats including Rich Text (.rtf), Office Open XML (.docx), MIME HTML (.mht), Open Document (.odt), Plain Text (.txt), and Portable Document (.pdf).

Run Demo

Spell Check

The HTML Editor includes end-user spell check capabilities.

Run Demo

Find and Replace

Users can use the search panel to find text within the editor content.

Run Demo

Full-Screen Mode

ASPxHtmlEditor can be maximized to occupy a browser’s entire client region.

Run Demo

Right to Left Support

The HTML editor supports right-to-left languages such as Arabic or Hebrew.

Run Demo

Demos and Examples

The HTML Editor demos ship with the DevExpress .NET Products Installer. Refer to the following section for more information on how to install and run HTML Editor demos on a local machine: Control Demos.

See Also