payload-inline-visual-editor
v1.0.1
Published
Inline visual editor plugin for Payload CMS 3.x — click-to-edit and block operations layered on core Live Preview
Maintainers
Readme
payload-inline-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.

This is the Payload plugin (admin side). Pair it with:
@payload-inline-visual-editor/react— React/Next site adapter (<VisualEditing/>,payloadEditable()), or@payload-inline-visual-editor/core— framework-agnostic vanilla SDK.
Usage
// payload.config.ts
import { visualEditor } from 'payload-inline-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
