We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The ASP.NET MVC Rich Text Editor is a feature-rich WYSIWYG HTML editor and WYSIWYG Markdown editor. The Rich Text Editor is widely used to create blogs, forum posts, notes sections, support tickets (incidents), comment sections, messaging applications, and more. The control provides an efficient user interface for a better editing experience with mobile support. It has a variety of tools to edit and format rich content and return a valid HTML markup or Markdown (MD) content. It allows users to insert images, links, tables, and lists with modular architectures.


Why choose Syncfusion ASP.NET MVC Rich Text Editor?

ASP.NET MVC WYSIWYG editor

WYSIWYG editor

The ASP.NET MVC Rich Text Editor control can be used as a WYSIWYG HTML editor or a Markdown editor, and it also supports Iframe editing with configurable Iframe characteristics.

ASP.NET MVC Rich Text Editor easy interaction

Easy interaction

You can easily format the text and paragraphs by setting the editor’s foreground and background colors, font type, italicization, underlining, strikethrough, and bolding. You can also add ordered (numbered) or unordered (bulleted) custom lists and change the editor’s size.

ASP.NET MVC Rich Text Editor flexible editing

Flexible editing

For a better editing experience, the ASP.NET MVC Rich Text Editor control offers a variety of tools and choices. So, you can quickly insert images, videos, hyperlinks, and tables; merge table cells; and configure keys.

ASP.NET MVC Rich Text Editor preview the html code

Preview the HTML code

Examine and edit the HTML code directly in the source code and View the preview result (HTML live editor).

Tools in ASP.NET MVC Rich Text Editor

Toolbar with a rich set of tools

The WYSIWYG Rich Text Editor for ASP.NET MVC offers a variety of toolbar options that are fully customizable. The options allow multirow, expanding, quick, and floating toolbars. The tool commands are grouped based on related functionality.

ASP.NET MVC Rich Text Editor adaptive UI

Adapts to any resolution

The Rich Text Editor has a highly responsive layout and an optimized design for desktops, touch screens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

Third-party integration in ASP.NET MVC Rich Text Editor

Integrate with third-party libraries

Easy to integrate third-party libraries like spell checker, code mirror, etc., with the Rich Text Editor to improve the content in the ASP.NET MVC HTML text editor.

ASP.NET MVC Rich Text Editor globalization

Globalization and localization

Enables users from different locales to use the Rich Text Editor by formatting dates, currency, and numbering to suit preferences.


ASP.NET MVC Rich Text Editor Code Example

Easily get started with the ASP.NET MVC Rich Text Editor using a few simple lines of CSHTML and C# code example as demonstrated below. Also explore the ASP.NET MVC Rich Text Editor example that shows how to render and configure the Rich Text Editor in ASP.NET MVC.

@Html.EJS().RichTextEditor("defaultRTE").ContentTemplate(@<div>
    <div>
        <p>The Rich Text Editor is WYSIWYG ('what you see is what you get') editor useful to create and edit content, and return the valid <a href='https://ej2.syncfusion.com/aspnetmvc/RichTextEditor/Overview'>HTML markup</a> or <a href='https://ej2.syncfusion.com/aspnetmvc/RichTextEditor/DefaultMode'>markdown</a> of the content</p>
            <p><b>Key features:</b></p>
            <ul>
                <li>
                    <p>Provides &lt;IFRAME&gt; and &lt;DIV&gt; modes</p>
                </li>
                <li>
                    <p>Capable of handling markdown editing.</p>
                </li>
            </ul>
    </div>
</div>).Render()
public class HomeController : Controller
{
    public ActionResult Index()
    {
        return View();
    }
}

HTML editor toolbar

The ASP.NET MVC WYSIWYG text editor toolbar provides a variety of commands for editing and formatting the content. Format text, paragraphs, insert images, insert hyperlinks, insert tables, insert lists, etc. The tool commands are grouped together based on related functionality.

ASP.NET MVC WYSIWYG HTML editor MultiRow Toolbar

Multi-row toolbar

The toolbar commands that overflow are wrapped in the following rows within the toolbar.

ASP.NET MVC WYSIWYG HTML editor Expand Toolbar

Expand toolbar

The overflow toolbar commands hidden in the next row become visible when the toolbar is expanded using the expand icon.

ASP.NET MVC WYSIWYG HTML editor Expand Toolbar

Quick toolbar

This toolbar contains frequently used commands related to text, image, tables, and links. It helps access and format the elements (text, image, tables, links) quickly, and also customize them.

ASP.NET MVC WYSIWYG HTML editor Floating Toolbar

Floating the toolbar

The HTML WYSIWYG editor toolbar does not stick to the top of the editor, but floats within the editor area when scrolling the current page.

Fully customizable tools in ASP.NET MVC Rich Text Editor

Fully customizable

The toolbar of the ASP.NET MVC Rich Text Editor control is fully customizable with its buttons. Add or remove buttons and group commands based on category. This helps design the toolbar based on the application needs like HTML blog editor, HTML email composer, and more.

ASP.NET MVC WYSIWYG HTML editor Custom Toolbar

Custom tool

Add your own commands (tools) with actions to the toolbar along with built-in commands.


ASP.NET MVC WYSIWYG inline HTML editor

Inline mode

The ASP.NET MVC Rich Text Editor displays an inline HTML editor when the content in an editable area is clicked or selected.


Mention and hashtag

When composing content in the ASP.NET MVC Rich Text Editor, users or groups can be tagged or selected from the suggestion list.

ASP.NET MVC Rich Text Editor with mention and hashtag


Editing experience

The ASP.NET MVC Rich Text Editor control provides a wide range of tools and options for a better editing experience.

Images Insert in ASP.NET MVC HTML WYSIWYG editor

Insert images

Insert images in the content from a local path or server path with image captions and then link URLs to the images. Upload images to a server with drag-and-drop or file upload. Additionally, the editor offers options to insert images in BLOB or Base64 formats.

Hyperlinks Insert in WYSIWYG ASP.NET MVC HTML editor

Insert or change the hyperlinks with customization options such as display text, tooltip, and link to be opened in a new window.

Insert tables in ASP.NET MVC rich text editor

Insert tables

Insert and edit HTML tables to display grid-like tabular data in WYSIWYG Rich Text Editor. Manipulate the table and its elements dynamically (insert/remove rows and columns, resize whole table or rows or columns, and remove a table).

ASP.NET MVC Rich Text Editor with table merge and split.

Table cell merge and split

Merge two or more row and column cells into a single cell with its contents. Also, a single cell can be split both horizontally and vertically.

ASP.NET MVC rich text editor with text alignment tools

Text alignment

The built-in settings are available to align your content to the left, center, right, or justify it.

Enter and Shift+Enter key configuration

The Rich Text Editor provides support to insert tags into content when pressing Enter or Shift+Enter. The following tags can be configured:

  • P: When ‘P’ is configured, pressing Enter or Shift+Enter will create a ‘p’ tag.
  • DIV: When ‘DIV’ is configured, pressing Enter or Shift+Enter will create a ‘div’ tag.
  • BR: When ‘BR’ is configured, pressing Enter or Shift+Enter will create a ‘br’ tag.

Formatting text

  • Format the selected content, whole paragraphs, or specific words or characters.
  • Format headings, quotations, code, paragraphs, etc.
  • Bold, italicize, underline, strikethrough, or capitalize letters and words.
  • Change paragraph indentation and spacing.
  • Select fonts and its size value.
  • Use subscripts and superscripts.
  • Select font color and the background color for the content.

ASP.NET MVC Rich Text Editor formatting text


ASP.NET MVC WYSIWYG HTML editor List

Adding lists

Create ordered (numbered) or unordered (bulleted) lists to organize the content.


Custom lists

The ASP.NET MVC Rich Text Editor provides support to change the bullet appearance for the unordered lists to circles or squares. It also supports different numbering formats for ordered lists such as lowercase Greek or uppercase Roman.

ASP.NET MVC WYSIWYG HTML editor Custom List


ASP.NET MVC WYSIWYG HTML editor FullScreen

Full-screen text editor

Make the WYSIWYG HTML editor full-screen size (full-page editor) for editing the content.


ASP.NET MVC rich text editor with format on pasting

Paste from Microsoft Word and Excel

The ASP.NET MVC Rich Text Editor offers built-in options to paste content with images from Microsoft Word, Microsoft Outlook and Microsoft Excel to the editor by filtering out tags, attributes, and styles. Additionally, there are options to choose whether the content should be pasted as plain text, cleaned styles, or source-formatting styles.


The ASP.NET MVC Rich Text Editor is configured to turn text into a hyperlink automatically when a URL is typed as a plain text.

Auto hyperlink of URL in ASP.NET MVC rich text editor


ASP.NET MVC WYSIWYG HTML editor Validation

ASP.NET MVC form validations

The ASP.NET MVC Rich Text Editor is a form control that seamlessly supports forms and obtains values on form submission actions. The two types of validation are:

  • Required validation
  • Maximum length validation

Limit content length

Restrict the content’s maximum number of characters.

ASP.NET MVC WYSIWYG HTML editor Maximum length


ASP.NET MVC WYSIWYG HTML editor Resize

Resizable editor

The ASP.NET MVC Rich Text Editor has built-in resizable support that helps widen or shrink the content area.


Insert an image through File Manager

Integrated file manager within the Rich Text Editor to insert/upload images from cloud storage or the server.

ASP.NET MVC WYSIWYG HTML editor File Manager


ASP.NET MVC rich text editor with clipboard operations

Cut, copy, and paste

The ASP.NET MVC Rich Text Editor typically allows users to use clipboard operations (cut, copy, and paste).

ASP.NET MVC rich text editor with undo redo actions

Undo redo manager

The ASP.NET MVC Rich Text Editor manages the undo/redo action history to store editing actions, and also to customize the undo steps.

ASP.NET MVC rich text editor with print support

Print the WYSIWYG Rich Text Editor content either by using the print option from the toolbar or programmatically with applied format style.


Responsive ASP.NET MVC rich text editor

Touch-friendly and responsive WYSIWYG editor

The ASP.NET MVC Rich Text Editor (mobile HTML editor) recognizes touch gestures, allowing the user to swipe left or right to move the toolbar. The responsive, mobile friendly design provides the best user experience on all mobiles, tablets, and desktop form factors.

ASP.NET MVC Rich Text Editor supported themes.

Built-in and customizable themes

ASP.NET MVC Rich Text Editor is shipped with several built-in themes such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, Fluent, and high contrast.

ASP.NET MVC Rich Text Editor APIs.

Developer-friendly APIs

There are sufficient client-side APIs available to optimize the process of editing content.


HTML editor accessibility

Keyboard navigation in ASP.NET MVC Rich Text Editor.

Keyboard navigation

The ASP.NET MVC Rich Text Editor component ensures that every cell is accessible using the keyboard. Major features like sort, select, and edit can be performed using keyboard commands alone; no mouse interaction is required. This helps in creating highly accessible applications using this component.

Accessibility and screen reader support in ASP.NET MVC Rich Text Editor.

Screen reader

The ASP.NET MVC Rich Text Editor view has complete WAI-ARIA accessibility support. The Rich Text Editor UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.

Show right-to-left in ASP.NET MVC rich text editor

Right to Left (RTL)

The ASP.NET MVC Rich Text Editor supports right-to-left rendering, allowing the text direction and layout of the text editor to be displayed from right to left. This improves the user experience and accessibility for RTL languages such as Arabic, Farsi, Hebrew, etc.





Other supported frameworks

Rich Text Editor is also available in Blazor, React, Angular, Vue, and JavaScript frameworks. Check out the different Rich Text Editor platforms from the links below:

Supported browsers

The ASP.NET MVC Rich Text Editor works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers

85+ ASP.NET MVC UI CONTROLS

Frequently Asked Questions

  • Edit WYSIWYG HTML and markdown content with a rich set of tools for modern web and mobile applications.
  • Easily incorporate into blogs editor, messages, HTML email composer, and discussion forum-like applications.
  • Make a floating toolbar or inline editor that allows you to select any editable element on the page and edit-in-place.
  • One of the best ASP.NET MVC Rich Text Editor in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with ASP.NET MVC Rich Text Editor.

We do not sell the ASP.NET MVC Rich Text Editor separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the ASP.NET MVC Rich Text Editor. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our ASP.NET MVC Rich Text Editor demo, which demonstrates how to render and configure the Rich Text Editor.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our ASP.NET MVC Rich Text Editor, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Rich Text Editor control alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon