Editor plugins for Payload CMS 38

Extend the Lexical rich text editor in Payload CMS. Add text colors and typography, Shiki code blocks, inline comments or Mermaid diagrams.

Editor-authored URL routing that maps collections to path patterns and links

Adds AI text, translation, image and voice generation to Payload fields and the editor

Adds AI text, image and voice generation and translation to Payload editors

Translates Payload documents into other locales with LibreTranslate in the background

Adds Mermaid diagram blocks to rich text with server-rendered SVG output

Code-defined transactional emails with admin-editable copy, test sends and a send log

Inline comment threads on rich text passages in the Payload admin panel

Markdown fields with a CodeMirror editor, styled directives and MCP access for AI agents

Toolbar-based visual editor field that stores HTML strings

Adds non-breaking spaces after single-letter Czech words on save

On-page SEO scoring in the editor, site audit dashboard, sitemaps and JSON-LD

Spelling, grammar and readability checks in the Payload admin, with an optional AI review pass

Renders Blockwright pages, headers, footers and 404 templates in a Next.js app

Side-by-side live preview with click-to-edit blocks for Payload edit views

Link field with a drawer editor and Lexical link feature

Adds a Markdown paste drawer to the Lexical rich text editor

Preset-based Lexical rich text configuration for Payload fields

Adds a fullscreen mode to the Lexical rich text editor

Builds Lexical rich text editors from feature and block lists, with typed block renderers

Rich text child block, default editor preset and JSX renderer for Atomic Payload

About these packages

Editor plugins add features to Lexical, the rich text editor that Payload uses by default. Most of them add toolbar controls, code blocks or comments to rich text fields. Better Editor goes further and lets editors change blocks from a Live Preview iframe.

What these plugins cover

  • Text color, highlight, font size and line height controls for Lexical
  • Syntax-highlighted code blocks rendered on the server with Shiki
  • Fullscreen writing mode and threaded comments on selected text
  • Video embeds, Mermaid diagrams and admonitions inside rich text
  • Better Editor for editing blocks from a Live Preview iframe
  • Alternative Lexical toolbars and a font size dropdown

Choosing an editor plugin

Check the built-in Lexical features first. Blocks, links, lists and uploads already ship with Payload. Lexical Editor Extend and Lexical Typography overlap on text styling, so pick one of them rather than stacking two toolbars. To switch the editor itself, for example from Slate to Lexical, you need an editor adapter. Page builders such as Puck are among the content plugins. Check the supported Payload version on each card before you install.

Frequently asked questions

How do I add features to the Lexical editor in Payload?

Pass extra features to lexicalEditor() in payload.config or on a single rich text field. Feature packages such as Shiki Code or Fullscreen Editor export features in the same shape. You add them next to Payload's default features.

How do I add syntax highlighting to code blocks in Payload?

Install Shiki Code. It adds code blocks to rich text fields and renders the highlighting with Shiki on the server, so the browser receives finished HTML.

What is the difference between an editor plugin and an editor adapter?

The editor adapter is the rich text editor itself, such as Lexical or Slate. You set it in the editor option of payload.config. An editor plugin adds features to that editor and leaves the adapter in place.