pro-laico

richtext

by pro-laico
atomic-payload
Rich text & editors
v3
>=3.0.0
MIT

Overview

Summary generated from the README

Provides a RichTextChild block, a default Lexical editor preset and a JSX renderer for serialized Lexical content. It is part of the Atomic Payload family and plugs into the children render pipeline of the Atomic runtime. It builds on the Atomic core and runtime packages and supports Payload 3 or later.

Features

  • Pre-built RichText block and a createRichTextBlock factory
  • RichTextChild renderer that turns serialized Lexical content into JSX
  • Default Lexical editor preset exported on its own
  • createDefaultLexical factory with an option to choose enabled collections

Use cases

  • Add rich-text content blocks to pages built with Atomic Payload
  • Render stored Lexical content as JSX on a React front end
  • Apply a consistent default Lexical editor configuration across collections

From the author

Atomic Payload rich-text package. Provides the RichTextChild block, a default Lexical editor preset, and a JSX renderer for serialized Lexical content.

Installation

npm i @pro-laico/richtext

37

Stars

0

Forks

0

Open Issues

2 months ago

Last Updated

1

Weekly Downloads

v0.5.0

npm Version

27.8 KB

Unpacked Size

1

Dependencies

Repository stars

Trends appear after 7 days of data. Collecting since Oct 22 — 2 daily snapshots so far.

Shared by 10 plugins in pro-laico/atomic-payload.

npm weekly downloads

Trends appear after 7 days of data. Collecting since Oct 22 — 2 daily snapshots so far.

Each point is npm's rolling 7-day download count.

Health Score

61/100Good

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1128550352-richtext.svg)](https://payloaddirectory.dev/plugins/1128550352-richtext)
HTML
<a href="https://payloaddirectory.dev/plugins/1128550352-richtext"><img src="https://payloaddirectory.dev/badge/1128550352-richtext.svg" alt="Payload Directory"></a>
Updated Jul 28, 2026Created Jan 5, 2026Published Jun 27, 2026

README

Atomic Payload Rich Text

The rich-text child block for Atomic Payload, plus a default Lexical editor preset and a JSX renderer for serialized Lexical content. Part of Atomic Payload.

Atomic Payload dependencies

  • @pro-laico/core — primitives the package builds on.
  • @pro-laico/atomic — the runtime whose children render pipeline RichTextChild plugs into.

Exports

ImportWhat's there
@pro-laico/richtextRoot barrel — RichText (pre-built Block), createRichTextBlock factory, the RichTextChild renderer, and the defaultLexical preset.
@pro-laico/richtext/default-lexicalThe defaultLexical preset on its own, plus the createDefaultLexical(options?) factory and DefaultLexicalOptions (enabledCollections) — not re-exported from the barrel.

Similar plugins