All demos ↓← All 93 demos

Headless editor

Build your own editing interface with the headless API.

Your buttons

Active at the caret: none

Exports

0 words, 0 characters

Loading the editor…

Full UI editor or headless?

RichTextEditor is one engine with two front ends. Choose the full UI when you want a finished editor. Choose headless when your application already has its own toolbar and design system and needs only the editing engine.

ConcernFull UI editorHeadless
ToolbarBuilt in, configured with toolbar optionsNone. Your own buttons call run()
FormattingToolbar, menus and keyboard shortcutsrun(command, value) from your own controls
Knowing what is activeShown on the toolbarisActive(name), can(command) and update events
Exporting contentgetHTML, getText, getMarkdown, getJSONThe same methods
Best forA finished editor you can drop inA custom toolbar, your own design system, or a non-browser UI

See the full UI editor demos for the complete toolbar, or the JavaScript API demo for the programmatic surface both modes share. The headless rich text editor page has the full API and the React, Vue and Svelte bindings.

Use this in your app

This demo runs the same editor you get for every framework. See how to add it to yours: