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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies


The JavaScript 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 it return a valid HTML markup or Markdown (MD) content. It allows users to insert images, links, tables, and lists with modular architectures.


The native JavaScript Rich Text Editor control can be used as a WYSIWYG HTML editor. View and edit content as HTML markup and view the HTML source using the Code View icon.

WYSIWYG Markdown editor

The JavaScript Rich Text Editor control can be used as a JavaScript WYSIWYG Markdown editor. It allows content to be in Markdown format. The typed Markdown syntax content can be previewed using a third-party plugin.

Inline mode

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

JavaScript WYSIWYG Inline HTML editor

WYSIWYG HTML editor Iframe mode

The Rich Text Editor in HTML5 supports Iframe editing with customized Iframe attributes. The appearance of the Iframe editor’s content can easily be changed when using external CSS and script files.

HTML editor toolbar

The WYSIWYG HTML 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.

Multi-row toolbar

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

Expand toolbar

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

HTML5 Rich Text Editor with Quick 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.

JavaScript Rich Text Editor with Floating toolbar

Floating the toolbar

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

Fully customizable tools in JavaScript Rich Text Editor

Fully customizable

The toolbar of the HTML5 Rich Text Editor control is fully customizable with its buttons. Add or remove buttons and group commands based on category. This helps to design the toolbar based on application needs, like HTML blog editing, HTML email composing, and more.

Custom tool

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

Editing experience

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

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.

Images Insert in JavaScript 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 JavaScript 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 JavaScript html 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).

JavaScript 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.

JavaScript rich text editor with text alignment tools

Text alignment

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

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.

Adding lists

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

Custom lists

The JavaScript Rich Text Editor with rich UI 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.

Full screen text editor

The built-in option makes the WYSIWYG HTML editor full screen size (full page editor) for editing the content.

JavaScript Rich Text Editor with clipboard operations

Cut, copy, and paste

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

JavaScript Rich Text Editor with undo redo actions

Undo redo manager

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

Source code (HTML) view

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

JavaScript rich text editor with HTML live editor

JavaScript rich text editor with format on pasting

Paste from Microsoft Word and Excel

The JavaScript Rich Text Editor offers built-in options to paste content with images to the editor from Microsoft Word, Microsoft Outlook, and Microsoft Excel 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.

Integrate with third-party libraries in JavaScript rich text editor

Integrate with third-party libraries

Easily integrate third-party libraries like spell checker, code mirror, etc., with the RTE to improve the content in the HTML5/JavaScript HTML text editor.

JavaScript 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.

Auto hyperlink of URL in JavaScript rich text editor

Auto-hyperlinking of URL

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

HTML5/JavaScript form validations

The HTML5/JavaScript Rich Text Editor is a form control that seamlessly supports HTML 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.

Resizable editor

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

Insert an image through file manager

The integrated file manager within the Rich Text Editor can insert and upload images from cloud storage or a server.

Responsive JavaScript rich text editor

Touch-friendly and responsive WYSIWYG editor

The HTML5/JavaScript 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 mobile, tablet, and desktop form factors.

JavaScript rich text editor with cross-browser support


The HTML5 Rich Text Editor supports multiple browsers and platforms. It also supports ie11 with the help of polyfills.


JavaScript rich text editor with localization support


Customize static texts in the Rich Text Editor control by using the localization library.

Show right-to-left in JavaScript rich text editor

Right to Left (RTL)

The HTML5/JavaScript 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.

HTML editor accessibility

  • The editor fully supports WAI-ARIA accessibility that helps the editor be accessed by on-screen readers and assistive devices.
  • UI element visuals such as foreground color, background color, line spacing, text, and images are designed based on the WCAG 2.0 standard.
  • The editor follows WAI-ARIA best practices for implementing all features using accessible keyboard shortcuts.

Developer-friendly APIs

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

JavaScript Rich Text Editor Code Example

Easily get started with the JavaScript Rich Text Editor using a few simple lines of HTML and TS code example as demonstrated below. Also explore the JavaScript Rich Text Editor example that shows how to render and configure the Rich Text Editor in JavaScript.

<div class="control-section">
            <div id="defaultRTE">
import { enableRipple } from '@syncfusion/ej2-base';

import {  RichTextEditor,  Toolbar,  Link,  Image,  HtmlEditor
} from '@syncfusion/ej2-richtexteditor';
RichTextEditor.Inject(Toolbar, Link, Image, HtmlEditor);

let defaultRTE: RichTextEditor = new RichTextEditor({
  value: `<p>The Rich Text Editor component is a WYSIWYG ("what you see is what you get") editor that provides the best user experience to create and update the content. Users can format their content using standard toolbar commands.</p>
            <p><b>Key features:</b></p>
                    <p>Provides &lt;IFRAME&gt; and &lt;DIV&gt; modes</p>
                    <p>Capable of handling markdown editing.</p>

Other supported frameworks

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


Frequently Asked Questions

  • Edit WYSIWYG HTML and Markdown content with a rich set of tools for modern web and mobile applications.
  • Easily incorporate the editor into blog editors, messages, HTML email composers, 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 JavaScript 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 JavaScript Rich Text Editor.

We do not sell the JavaScript Rich Text Editor separately. It is only available for purchase as part of the Syncfusion JavaScript suite, which contains over 70 JavaScript components, including the Rich Text Editor. A single developer license for the Syncfusion Essential Studio for JavaScript suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

You can find our JavaScript Rich Text Editor demo here.

No, our 70 JavaScript components, including the Rich Text Editor, are not sold individually, only as a single package. 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 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 70 JavaScript components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team 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 and five or fewer developers.

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

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

We're using the file formats and Windows/JavaScript list controls a lot. They're fast, easy to use, and the documentation is good and contains examples. Tickets with questions or suggestions were answered within a day, so we're happy to use the Syncfusion libraries.
Daniel Persidok

Daniel Persidok

wpd onshore GmbH & Co. KG

double quotes

Using Syncfusion Angular and JavaScript controls makes front-end web development a piece of cake. Each component has many properties that can be configured as per your desire, methods that can be used to interact with the element, and a lot of events that trigger at different stages, which makes modifying your components according to the state of the application an easy task. Also, their support is amazing! They always offer a sample working project, which makes it very simple to solve your question about your code.
Carlos Rodriguez Garcia

Carlos Rodriguez Garcia


Transform your applications today by downloading our free evaluation version Download Free Trial


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

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile