Inline visual editing of Payload pages in Live Preview, with block and field popovers
Visual Editor React
React and Next.js helpers that mark page markup for inline editing
Installation
pnpm add @digitalvantage/payload-visual-editor-react About
Visual Editor React is the React and Next.js side of inline visual editing for Payload. It lets a developer tag the editable parts of a page, such as headings, images and block rows, so that editors working in Live Preview can click them and change the content with the regular Payload field controls. Marking up the page needs no client component, and the tags render as plain attributes on the server.
The page component also mounts a small runtime that connects the site to the Payload admin panel. Once it is mounted, editors can add, duplicate, remove and reorder blocks directly on the page, and the markup is stripped from production HTML when preview is off.
Package info
- Package name
@digitalvantage/payload-visual-editor-react- Latest version
1.1.0- Unpacked size
- 9 kB
- License
- MIT
- Weekly downloads
- 100
- Last publish
- Nov 2, 2026
More from DigitalVantage
View profileFramework-agnostic SDK for inline visual editing on Payload-powered sites
Similar adapters
More in EditorRich text editor built on Lexical for Payload rich text fields
Slate-based rich text editor for Payload rich text fields
Rich text field adapter with a fixed toolbar, nested editing and lightweight internal links
React and Next.js helpers for inline editing of Payload pages in Live Preview