The React 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.
The React Rich Text Editor component 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.
The React Rich Text Editor component can be used as an React WYSIWYG Markdown Editor. It allows the content to be in the markdown format. The typed Markdown syntax content can be previewed using a third-party plugin.
The React Rich Text Editor displays an inline HTML editor when the content in an editable area is clicked or selected.
The React Rich Text Editor 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.
The React 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.
The toolbar commands that overflow are wrapped in the following rows within the toolbar.
The overflow toolbar commands hidden in the next row become visible when the toolbar is expanded using the expand icon.
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.
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.
The toolbar of the React Rich Text Editor component 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.
Add your own commands (tools) with actions to the toolbar along with built-in commands.
The React Rich Text Editor component provides a wide range of tools and options for a better editing experience.
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.
Insert or change the hyperlinks with customization options such as display text, tooltip, and link to be opened in a new window.
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).
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.
The built-in settings are available to align your content to the left, center, right, or justify it.
The Rich Text Editor allows the tag inserted when pressing the Enter key and Shift+Enter keys to be customized. The following tags can be configured:
Create ordered (numbered) or unordered (bulleted) lists to organize the content.
The React 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.
Make the editor full-screen size (full-page editor) for editing the content.
The React Rich Text Editor typically allows users to use clipboard operations (cut, copy, and paste).
The React Rich Text Editor manages the undo/redo action history to store editing actions, and also to customize the undo steps.
Examine and edit the HTML code directly in the source code and view the preview result (HTML live editor).
The React 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.
Easy to integrate third-party libraries like spell checker, code mirror, etc., with the RTE to improve the content in the React HTML text editor.
Print the WYSIWYG Rich Text Editor content either by using the print option from the toolbar or programmatically with applied format style.
The React Rich Text Editor is configured to turn text into a hyperlink automatically when a URL is typed as a plain text.
The React 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
Restrict the content’s maximum number of characters.
The React Rich Text Editor has built-in resizable support that helps widen or shrink the content area.
Integrated file manager within the Rich Text Editor to insert/upload images from cloud storage or the server.
The React 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.
The Rich Text Editor in React supports cross-browsers and cross-platforms. It also supports ie11 with the help of polyfills.
Customize static texts in the Rich Text Editor component by using the localization library.
The React 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.
There are sufficient client-side APIs available to optimize the process of editing content.
Easily get started with the React Rich Text Editor using a few simple lines of TSX or JSX code example as demonstrated below. Also explore the React Rich Text Editor example that shows how to render and configure the Rich Text Editor in React.
import { HtmlEditor, Link, Image, Inject, RichTextEditorComponent, Toolbar } from '@syncfusion/ej2-react-richtexteditor';
import * as React from 'react';
class App extends React.Component<{},{}> {
public render() {
return (
<RichTextEditorComponent>
<p>The Rich Text Editor component is 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>
<ul>
<li>
<p>Provides <IFRAME> and <DIV> modes</p>
</li>
<li>
<p>Capable of handling markdown editing.</p>
</li>
</ul>
<Inject services={[Toolbar, HtmlEditor, Link, Image]} />
</RichTextEditorComponent>
);
}
}
export default App;
import { HtmlEditor, Link, Image, Inject, RichTextEditorComponent, Toolbar } from '@syncfusion/ej2-react-richtexteditor';
import * as React from 'react';
class App extends React.Component {
constructor() {
super(...arguments);
}
render() {
return (<RichTextEditorComponent>
<p>The Rich Text Editor component is 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>
<ul>
<li>
<p>Provides <IFRAME> and <DIV> modes</p>
</li>
<li>
<p>Capable of handling markdown editing.</p>
</li>
</ul>
<Inject services={[Toolbar, HtmlEditor, Link, Image]}/>
</RichTextEditorComponent>);
}
}
export default App;
Rich Text Editor component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Rich Text Editor platforms from the links below:
We do not sell the React Rich Text Editor separately. It is only available for purchase as part of the Syncfusion React suite, which contains over 70 React components, including the Rich Text Editor. A single developer license for the Syncfusion Essential Studio for React 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 React Rich Text Editor demo here.
No, our 70+ React components, including 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+ React 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.
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.