Lexical Blocks Builder

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

Community 0 3/wk MIT v0.2.4

Installation

pnpm add @zetesis/payload-lexical-blocks-builder

About

Lexical Blocks Builder helps Payload projects assemble rich text fields that mix formatting features with custom blocks. You list the editor features and the blocks you want, and the builder returns a Lexical editor setup with those blocks available and filtered by slug, so different fields can offer different block sets.

The package also provides typed functions that turn saved block data into React components on the front end. A Storybook helper can generate a story for each block, which makes it easier to build and check block designs in isolation.

Package info

Package name
@zetesis/payload-lexical-blocks-builder
Latest version
0.2.4
Unpacked size
13 kB
License
MIT
Weekly downloads
3
Last publish
Jul 6, 2026

More from Zetesis-Labs

View profile

MCP server that gives AI tools search and retrieval over Typesense-indexed Payload content

Tracks token usage, cost and sessions for LLM agent runs

Adds AI agent management, streaming chat endpoints and gateway-backed model access to Payload

Vector search adapter that stores embeddings in Postgres with pgvector

Keeps Payload collections synced to Typesense with keyword, semantic and hybrid search

Hierarchical taxonomy collection and relationship field for Payload collections

Similar plugins

More in Editor

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