Editor modes in ASP.NET Core Rich Text Editor

The Rich Text Editor control used to create, edit and return the content in valid HTML markup or markdown (MD) of the content. It supports following two editing formation.

  • HTML Editor
  • Markdown Editor

HTML Editor

Rich Text Editor is a WYSIWYG editing control for formatting the word content as HTML.

The HTML editing mode is the default mode of Rich Text Editor. Which is used for format the content through the available toolbar items and returns the valid HTML markup. Set the editorMode property as HTML.

Markdown Editor

Set the editorMode property value as Markdown to create or edit the content and apply formatting to view markdown formatted content.

The third-party library such as Marked or any other library is used to convert markdown into HTML content.

  • The Supported Tags are h6,h5,h4,h3,h2,h1,blockquote,pre,p,ol,ul.
  • The Supported Selection Tags are Bold, Italic, StrikeThrough, InlineCode, SubScript, SuperScript, UpperCase, LowerCase.
  • The supported insert commands are Image, Link and Table.

For further details on Markdown editing, refer to the Markdown

See Also