Dynamic Value Rich Text

Lets editors insert reusable field values as badges inside Lexical rich text

Community 1 9/wk MIT v1.1.0

Installation

pnpm add @od-labs/payloadcms-dynamic-value-richtext

About

Dynamic Value Rich Text adds a variable feature to the Lexical editor in Payload. Editors type a trigger character, such as @, and pick a field from a searchable list. The chosen value appears in the text as a non-editable badge, so one email address or phone number can be reused across many pages and updated in one place.

Fields can come from chosen collections and globals or be defined by hand. On the frontend, the plugin's converters or wrapper component resolve each badge to the stored value from the current document, so the rendered text shows real data instead of a placeholder.

Package info

Package name
@od-labs/payloadcms-dynamic-value-richtext
Latest version
1.1.0
Unpacked size
113 kB
License
MIT
Weekly downloads
9
Last publish
Mar 2, 2026

More from ZNAXNOR

View profile

Restricts blocks and page hierarchy by page type, with one root page per type

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