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.
Configuring extensions
Pass options to configure individual extensions, or set them tofalse to disable:
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
Block Nodes
Block Nodes
Extensions that create block-level content:
| Extension | Description |
|---|---|
Body | Email body wrapper |
Section | Content section |
Div | Generic div container |
Paragraph | Text paragraph |
Heading | Heading levels 1–6 |
Blockquote | Block quote |
CodeBlockPrism | Code block with Prism syntax highlighting |
Divider | Horizontal rule |
Button | Email button element |
PreviewText | Email preview text (shown in inbox list) |
Lists
Lists
List-related extensions:
| Extension | Description |
|---|---|
BulletList | Unordered list |
OrderedList | Ordered (numbered) list |
ListItem | Individual list item |
Layout
Layout
Multi-column layout extensions:
| Extension | Description |
|---|---|
TwoColumns | Two column layout |
ThreeColumns | Three column layout |
FourColumns | Four column layout |
ColumnsColumn | Individual column within a layout |
Tables
Tables
Table-related extensions:
| Extension | Description |
|---|---|
Table | Table container |
TableRow | Table row |
TableCell | Table cell |
TableHeader | Table header cell |
Inline Marks
Inline Marks
Extensions that style inline text:
| Extension | Description |
|---|---|
Bold | Bold text |
Italic | Italic text |
Strike | Strikethrough text |
Underline | Underlined text |
Code | Inline code |
Sup | Superscript text |
Uppercase | Uppercase transform |
Link | Hyperlink (with openOnClick: false by default) |
Text | Base text node |
Attributes
Attributes
Extensions that add HTML attributes to nodes:
| Extension | Description |
|---|---|
AlignmentAttribute | Text alignment (left, center, right) |
StyleAttribute | Inline CSS styles |
ClassAttribute | CSS class names |
Utility
Utility
Helper extensions for editor behavior:
| Extension | Description |
|---|---|
Placeholder | Placeholder text when content is empty |
PreservedStyle | Preserves formatting when unlinking |
GlobalContent | Stores metadata for serialization (CSS, etc.) |
MaxNesting | Enforces maximum nesting depth |
HardBreak | Line break within a block |