Click text in a Next.js preview to open the matching field in the Payload admin
Visual Editing Overlay
Hover outlines and Edit buttons on a frontend that open the matching field in the admin
Installation
pnpm add @derweili/payload-visual-editing-overlay About
Visual Editing Overlay outlines every editable value on a Payload-powered frontend and shows an Edit button when the cursor is over it. Clicking the button opens the exact field in the Payload admin, expands its row, scrolls to it and puts the cursor in it, so editors do not have to search long document forms. It works on the live site and inside Payload's Live Preview, where the click reaches the admin through a message between the two windows. Editors get click-to-edit on the page they are reviewing, without leaving it to find the record.
Package info
- Package name
@derweili/payload-visual-editing-overlay- Latest version
0.1.2- Unpacked size
- 59 kB
- License
- MIT
- Weekly downloads
- 320
- Last publish
- Nov 28, 2026
More from derweili
View profileSimilar tools
More in Frontend renderingLets Puck components pull filtered Payload collection items into a resolved prop
Registers custom drag-and-drop blocks for the Olgax page builder
Ready-made page sections like hero, header, footer, pricing and FAQ for a visual page editor
Renders Payload Lexical rich text as native Astro components
Live preview for server-rendered and static frontends, with in-place field updates
React admin bar that puts Payload editing controls on your frontend pages