Side-by-side live preview with click-to-edit blocks for Payload edit views
Better Preview
Hover highlighting and two-way sync between block rows and live preview
Installation
pnpm add payload-better-preview About
Better Preview adds visual feedback to Payload's live preview for layout blocks. Hovering over a block in the preview draws an outline with a label showing its type, index and name, and nested blocks get a dashed parent outline with breadcrumbs.
Clicks work in both directions. Selecting a block row in the admin editor scrolls the preview to that block and flashes it, and clicking a block in the preview expands the matching row in the admin, including any collapsed parent rows, and highlights it. Rich text blocks inside a Lexical editor are covered by the same sync.
Package info
- Package name
payload-better-preview- Latest version
2.1.3- Unpacked size
- 99 kB
- License
- MIT
- Weekly downloads
- 62
- Last publish
- Jun 4, 2026
More from scorpio-99
View profileSimilar plugins
More in ContentAdds question-based conditions that decide which pages a visitor sees
Opens nested blocks and array rows in stacked panels with breadcrumb navigation
Click-to-edit overlays on the frontend that open the matching field in the admin
Inline editing on your live website for Payload content, with reviewed drafts
Visual drag-and-drop page builder for Payload collections with live canvas editing
Adds a parent field and breadcrumbs to collections so documents can nest inside each other