Lexical Rich Text Editor

Rich text editor built on Lexical for Payload rich text fields

Official 45,915 1.4m/wk MIT v3.94.0

Installation

pnpm add @payloadcms/richtext-lexical

About

Lexical Rich Text Editor is the default editor for rich text fields in Payload. Editors get a writing surface with headings, lists, links, and inline formatting, and can drop uploads and custom blocks into the body of a document. Content is stored as structured data, so the same text can be rendered as HTML, converted to plain text, or displayed by a React component in a front end. Developers can add or remove editing features to fit the content model, including custom features built for a specific project.

Package info

Package name
@payloadcms/richtext-lexical
Latest version
3.94.0
Unpacked size
6 MB
License
MIT
Weekly downloads
1.4m
Last publish
Nov 17, 2026

More from payloadcms

View profile

Stores Payload upload files in Cloudflare R2 buckets instead of local disk

Adds a parent field and breadcrumbs to collections so documents can nest inside each other

Sends Payload server errors and selected HTTP errors to Sentry with user context

Adds an SEO tab with meta title, description, image and search preview to collections

Stores collection uploads in Vercel Blob Storage instead of local disk

Lets one Payload admin panel manage content for many separate tenants

Similar adapters

More in Editor

Slate-based rich text editor for Payload rich text fields