🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@react-email/editor

Package Overview
Maintainers
5
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Source code not available
We could not scan this package. Some page functionalities have been disabled

@react-email/editor

A rich text editor for editing and building email templates

latest
Source
npmnpm
Version
1.6.13
Version published
Maintainers
5
Created
Source

@react-email/editor

A rich text editor for editing and building email templates, built on top of Tiptap and React Email.

Structure

packages/editor/src/
├── core/               # Editor core: hooks, serializer, event bus, types
├── extensions/         # Tiptap extensions for email elements (button, heading, columns, etc.)
├── plugins/            # ProseMirror plugins
├── ui/                 # UI components (bubble menus, slash command, inspector)
├── utils/              # Shared utilities
└── email-editor/       # Main editor component

Entry Points

The package exposes multiple entry points for granular imports:

  • @react-email/editor — Main editor component and top-level API
  • @react-email/editor/core — Serializer, types, and event bus
  • @react-email/editor/extensions — Tiptap extensions for all supported email elements
  • @react-email/editor/ui — UI components (bubble menus, slash command, inspector)
  • @react-email/editor/plugins — ProseMirror plugins
  • @react-email/editor/utils — Shared utilities

Installation

npm install @react-email/editor

Development

# Build the package
pnpm build

# Run type checking
pnpm typecheck

# Run all tests
pnpm test

# Run unit tests only
pnpm test:unit

# Run browser tests only
pnpm test:browser

# Watch mode for tests
pnpm test:watch

Documentation

For full usage guide and API reference, see the Editor documentation.

License

MIT

Keywords

react

FAQs

Package last updated on 28 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts