Documentation

Install the editor, configure it, and control it from your code. 82 guides and reference pages.

Start here

Get started

How to install, set up and configure the editor.

Quick Start

Get RichTextEditor 2.6.12 running: choose a setup path, create your first editor, read and save HTML, and troubleshoot common setup problems.

Installation (div)

Install RichTextEditor on a div element: include rte.js, create the instance, and read or set HTML content from your own scripts.

Installation (textarea)

Install RichTextEditor on a textarea: the editor syncs HTML back to the form field automatically, so existing form posts keep working.

Initialization

RichTextEditor JavaScript global enables you to create, modify and interact with instances of the editor. This is the starting point for any integration.

Configuration

RichTextEditor can be configured in several ways to match your editing experience.

Configuration Reference

Every RichTextEditor configuration option: core editor settings, smart typography, iframe safety, and more than 100 plugin options for AI, export, pagination, accessibility and content safety.

Skin

Skin and theme configuration: switch toolbar skins, override CSS variables, and restyle the editor chrome to match your product.

Set and get content

The common ways to set and read RichTextEditor's HTML content from JavaScript, including reading it back before a form is submitted.

React state & cursor issues

Choose controlled or uncontrolled RichTextEditor React state. Save current HTML, prevent stale autosave responses and diagnose cursor jumps, remounts and Strict Mode cleanup.

Form validation & required fields

Validate a required RichTextEditor field without counting empty HTML as content. Synchronize the textarea, show accessible errors, and repeat validation on the server.

FAQ

Answers to common RichTextEditor integration, configuration, licensing, browser-support, and troubleshooting questions.

AI

AI writing tools and connecting your own provider.

Documents & writing

Word export, page layout, structured content and input.

Collaboration

Comments, tracked changes and real-time editing.

Images & uploads

Uploading, storing and browsing images and files.

Customize & extend

Toolbars, commands, events and your own plugins.

Accessibility & operations

WCAG conformance and running the editor in production.

Method reference

Every editor method, one page each.

Events

Events the editor raises, and how to listen to them.

Rather see it running?

Every feature in these docs has a live demo you can edit and inspect.