DigitalVantage

plugin

by DigitalVantage
payload-visual-editor
Admin customization
v3
^3.85.0
MIT

Overview

Summary generated from the README

Adds an inline visual editor to the Payload admin, layered on core Live Preview. Editors browse the site, toggle edit mode and double-click marked fields to edit them with native Payload field UI, and can add, duplicate, remove and reorder blocks on the page. It is registered through the plugins array and needs an import map regeneration. A site adapter package is paired with it for the frontend, and it targets Payload 3.85 or later.

Features

  • Double-click popovers with native Payload field UI, including rich text, uploads and relationships
  • Add, duplicate, remove and drag-reorder blocks directly on the page
  • Undo and redo plus keyboard navigation of editable regions
  • Dedicated full-screen editor view and cross-document editing drawers
  • Admin UI translated through Payload i18n, with English and Polish built in
  • Enabled by default for collections and globals that have a Live Preview URL

Use cases

  • Let content editors change page text and blocks directly on the rendered site instead of in forms
  • Give a Next.js site a visual editing experience while keeping stock save, publish and versions

From the author

Inline visual editor plugin for Payload CMS 3.x — click-to-edit and block operations layered on core Live Preview

Installation

npm i @digitalvantage/payload-visual-editor

0

Stars

0

Forks

16

Open Issues

1 months ago

Last Updated

65

Weekly Downloads

v1.1.0

npm Version

172.5 KB

Unpacked Size

1

Dependencies

GitHub stars

00 since Oct 25

Show data
GitHub stars by day (UTC)
DateStars
Dec 6, 20260
Dec 5, 20260
Dec 4, 20260
Dec 3, 20260
Dec 2, 20260
Dec 1, 20260
Nov 30, 20260
Nov 29, 20260
Nov 28, 20260
Nov 27, 20260
Nov 26, 20260
Nov 25, 20260
Nov 24, 20260
Nov 23, 20260
Nov 22, 20260
Nov 21, 20260
Nov 20, 20260
Nov 19, 20260
Nov 18, 20260
Nov 17, 20260
Nov 16, 20260
Nov 15, 20260
Nov 14, 20260
Nov 13, 20260
Nov 12, 20260
Nov 11, 20260
Nov 10, 20260
Nov 9, 20260
Nov 8, 20260
Nov 7, 20260
Nov 6, 20260
Nov 5, 20260
Nov 4, 20260
Nov 3, 20260
Nov 2, 20260
Nov 1, 20260
Oct 31, 20260
Oct 30, 20260
Oct 29, 20260
Oct 28, 20260
Oct 27, 20260
Oct 26, 20260
Oct 25, 20260
npm weekly downloads

57+57 since Nov 2

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 6, 202657
Dec 5, 202665
Dec 4, 202656
Dec 3, 202675
Dec 2, 202673
Dec 1, 202664
Nov 30, 202665
Nov 29, 202658
Nov 28, 202662
Nov 27, 202665
Nov 26, 202656
Nov 25, 202654
Nov 24, 202669
Nov 23, 202663
Nov 22, 202672
Nov 21, 202678
Nov 20, 202693
Nov 19, 2026109
Nov 18, 2026124
Nov 17, 2026114
Nov 16, 2026123
Nov 15, 2026170
Nov 14, 2026177
Nov 13, 2026189
Nov 12, 2026198
Nov 11, 2026376
Nov 10, 2026708
Nov 9, 20261,240
Nov 8, 20261,181
Nov 7, 20261,151
Nov 6, 20261,118
Nov 5, 20261,079
Nov 4, 2026882
Nov 3, 2026542
Nov 2, 20260

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

Health Score

54/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/1440591889-plugin.svg)](https://payloaddirectory.dev/plugins/1440591889-plugin)
HTML
<a href="https://payloaddirectory.dev/plugins/1440591889-plugin"><img src="https://payloaddirectory.dev/badge/1440591889-plugin.svg" alt="Payload Directory"></a>
Updated Nov 2, 2026Created Oct 31, 2026Published Nov 2, 2026

README

@digitalvantage/payload-visual-editor

Inline visual editing for Payload CMS 3.x — browse your site in Live Preview, toggle edit mode, hover-highlight editable regions, double-click to edit any field with native Payload field UI, and add / duplicate / remove / drag-reorder blocks directly on the page. Includes a dedicated full-screen editor view at /admin/visual-editor/:collectionSlug/:id and cross-document editing drawers.

Double-clicking the hero heading opens a popover with the native Payload text field and the page follows every keystroke; then a block is duplicated from its row chip and the change is undone from the toolbar

What you get:

  • Edit in place — double-click any marked field or block for a popover with the native Payload field UI (rich text, uploads, relationships included), bound to the same document form
  • Block operations on the page — add, duplicate, remove and drag-reorder rows from a chip, with undo / redo
  • Keyboard control — arrow keys walk the regions, Enter edits, Alt+arrows reorder, Ctrl/⌘+Z undoes
  • Translated UI — follows the admin language through Payload i18n (English and Polish built in, every string overridable)
  • Nothing replaced — save, publish, autosave, versions, locales and access control are stock Payload; document data stays on the stock Live Preview pipeline

This is the Payload plugin (admin side). Pair it with:

Usage

// payload.config.ts
import { visualEditor } from '@digitalvantage/payload-visual-editor'

export default buildConfig({
  // ...
  plugins: [visualEditor()],
})

Then regenerate your import map: payload generate:importmap.

By default the editor enables itself for every collection and global with a Live Preview URL. See the full documentation for site instrumentation, plugin options, draft mode, and cross-origin recipes.

License

MIT · Built and maintained by Digital Vantage

Similar plugins