Skip to main content

StarterKit

StarterKit bundles all 35+ editor extensions into a single import. It wraps TipTap’s StarterKit and replaces most nodes with email-aware versions that know how to serialize to React Email components.
Use StarterKit unless you need fine-grained control over which extensions are loaded. It’s the recommended way to set up the editor.

Configuring extensions

Pass options to configure individual extensions, or set them to false to disable:

Structural defaults

StarterKit includes two structural extensions that shape how email content is edited and exported:
  • Container keeps top-level content inside a dedicated email content wrapper and serializes it with React Email’s Container component.
  • TrailingNode appends an empty paragraph when a container, section, or column does not already end in one, so the caret can move below the last block and users can keep typing naturally.
This is the default StarterKit behavior:
You can reconfigure either extension if your document model needs a different wrapper or different trailing-node behavior.

Using individual extensions

For maximum control, import and compose extensions manually instead of using StarterKit:
When using individual extensions, you’re responsible for including all the extensions your content needs. Missing extensions will cause those content types to be dropped.

Extension categories

Extensions that create block-level content:
List-related extensions:
Multi-column layout extensions:
Table-related extensions:
Extensions that style inline text:
Extensions that add HTML attributes to nodes:
Helper extensions for editor behavior:
For the full API reference with configurable options for each extension, see Extensions Reference.