Prerequisites
The editor requires React 18+ and a bundler that supports package exports (Vite, Next.js, Webpack 5, etc.).
Install
Install the editor and its peer dependencies:Import CSS
The quickest way to get started is to import the bundled default theme:Minimal editor
The simplest setup usesStarterKit with EditorProvider—no UI overlays, just a content-editable area
with all core extensions (paragraphs, headings, lists, tables, code blocks, and more):
Adding a bubble menu
To add a floating formatting toolbar that appears when you select text, addBubbleMenu.Default
as a child of EditorProvider:
Content format
The editor accepts content in two formats: TipTap JSON — A structured document tree:Examples
See these features in action with runnable examples:One-Line Editor — Minimal
The simplest possible editor setup.
Basic Editor
EditorProvider with StarterKit and no overlays.
One-Line Editor — Full Features
Theme toggle, HTML export, and JSON output.
All Examples
Browse the complete set of interactive examples.
Next steps
Bubble Menu
Add floating formatting toolbars on text selection.
Slash Commands
Insert content blocks with a command menu.
Email Theming
Apply visual themes to your email output.
Email Export
Convert editor content to email-ready HTML.