Adds a live-preview iframe of your frontend next to a sidebar in the document edit view. Clicking a block in the preview opens its real Payload fields in the sidebar, so no schema duplication or custom components are needed. Requires Payload 3.81.0 or newer and React 19.
Block editor plugin for Payload CMS that adds a side-by-side live-preview iframe and sidebar to the edit view.
Installation
npm i payload-better-editor119
Stars
6
Forks
2
Open Issues
2 months ago
Last Updated
1.0k
Weekly Downloads
v1.5.0
npm Version
696.1 KB
Unpacked Size
0
Dependencies
119+29 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 119 |
| Dec 4, 2026 | 119 |
| Dec 3, 2026 | 119 |
| Dec 2, 2026 | 119 |
| Dec 1, 2026 | 119 |
| Nov 30, 2026 | 119 |
| Nov 29, 2026 | 119 |
| Nov 28, 2026 | 119 |
| Nov 27, 2026 | 119 |
| Nov 26, 2026 | 119 |
| Nov 25, 2026 | 119 |
| Nov 24, 2026 | 119 |
| Nov 23, 2026 | 118 |
| Nov 22, 2026 | 118 |
| Nov 21, 2026 | 118 |
| Nov 20, 2026 | 118 |
| Nov 19, 2026 | 118 |
| Nov 18, 2026 | 118 |
| Nov 17, 2026 | 118 |
| Nov 16, 2026 | 118 |
| Nov 15, 2026 | 118 |
| Nov 14, 2026 | 117 |
| Nov 13, 2026 | 117 |
| Nov 12, 2026 | 117 |
| Nov 11, 2026 | 117 |
| Nov 10, 2026 | 116 |
| Nov 9, 2026 | 115 |
| Nov 8, 2026 | 115 |
| Nov 7, 2026 | 114 |
| Nov 6, 2026 | 114 |
| Nov 5, 2026 | 114 |
| Nov 4, 2026 | 114 |
| Nov 3, 2026 | 114 |
| Nov 2, 2026 | 114 |
| Nov 1, 2026 | 114 |
| Oct 31, 2026 | 114 |
| Oct 30, 2026 | 114 |
| Oct 29, 2026 | 114 |
| Oct 28, 2026 | 114 |
| Oct 27, 2026 | 114 |
| Oct 26, 2026 | 113 |
| Oct 25, 2026 | 113 |
| Oct 24, 2026 | 113 |
| Oct 23, 2026 | 113 |
| Oct 22, 2026 | 113 |
| Oct 21, 2026 | 112 |
| Oct 20, 2026 | 112 |
| Oct 19, 2026 | 112 |
| Oct 18, 2026 | 112 |
| Oct 17, 2026 | 112 |
| Oct 16, 2026 | 112 |
| Oct 15, 2026 | 112 |
| Oct 14, 2026 | 112 |
| Oct 13, 2026 | 111 |
| Oct 12, 2026 | 110 |
| Oct 11, 2026 | 109 |
| Oct 10, 2026 | 107 |
| Oct 9, 2026 | 104 |
| Oct 8, 2026 | 104 |
| Oct 7, 2026 | 104 |
| Oct 6, 2026 | 103 |
| Oct 5, 2026 | 101 |
| Oct 4, 2026 | 101 |
| Oct 3, 2026 | 101 |
| Oct 2, 2026 | 101 |
| Oct 1, 2026 | 100 |
| Sep 30, 2026 | 100 |
| Sep 29, 2026 | 100 |
| Sep 28, 2026 | 99 |
| Sep 27, 2026 | 97 |
| Sep 26, 2026 | 96 |
| Sep 25, 2026 | 96 |
| Sep 24, 2026 | 95 |
| Sep 23, 2026 | 95 |
| Sep 22, 2026 | 95 |
| Sep 21, 2026 | 94 |
| Sep 20, 2026 | 94 |
| Sep 19, 2026 | 94 |
| Sep 18, 2026 | 94 |
| Sep 17, 2026 | 94 |
| Sep 16, 2026 | 93 |
| Sep 15, 2026 | 92 |
| Sep 14, 2026 | 92 |
| Sep 13, 2026 | 91 |
| Sep 12, 2026 | 91 |
| Sep 11, 2026 | 91 |
| Sep 10, 2026 | 90 |
| Sep 9, 2026 | 90 |
| Sep 8, 2026 | 90 |
| Sep 7, 2026 | 90 |
| Sep 6, 2026 | 90 |
922−510 since Sep 6
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 922 |
| Dec 4, 2026 | 826 |
| Dec 3, 2026 | 811 |
| Dec 2, 2026 | 2,165 |
| Dec 1, 2026 | 2,241 |
| Nov 30, 2026 | 2,435 |
| Nov 29, 2026 | 3,431 |
| Nov 28, 2026 | 5,013 |
| Nov 27, 2026 | 6,076 |
| Nov 26, 2026 | 7,042 |
| Nov 25, 2026 | 5,817 |
| Nov 24, 2026 | 5,822 |
| Nov 23, 2026 | 5,669 |
| Nov 22, 2026 | 4,860 |
| Nov 21, 2026 | 3,384 |
| Nov 20, 2026 | 2,897 |
| Nov 19, 2026 | 2,181 |
| Nov 18, 2026 | 2,562 |
| Nov 17, 2026 | 2,490 |
| Nov 16, 2026 | 2,472 |
| Nov 15, 2026 | 2,824 |
| Nov 14, 2026 | 3,167 |
| Nov 13, 2026 | 3,273 |
| Nov 12, 2026 | 3,593 |
| Nov 11, 2026 | 3,096 |
| Nov 10, 2026 | 3,102 |
| Nov 9, 2026 | 3,166 |
| Nov 8, 2026 | 3,086 |
| Nov 7, 2026 | 3,821 |
| Nov 6, 2026 | 3,375 |
| Nov 5, 2026 | 2,995 |
| Nov 4, 2026 | 3,079 |
| Nov 3, 2026 | 3,132 |
| Nov 2, 2026 | 3,082 |
| Nov 1, 2026 | 3,130 |
| Oct 31, 2026 | 2,487 |
| Oct 30, 2026 | 2,546 |
| Oct 29, 2026 | 2,176 |
| Oct 28, 2026 | 1,822 |
| Oct 27, 2026 | 1,896 |
| Oct 26, 2026 | 1,882 |
| Oct 25, 2026 | 1,632 |
| Oct 24, 2026 | 1,432 |
| Oct 23, 2026 | 1,013 |
| Oct 22, 2026 | 1,825 |
| Oct 21, 2026 | 2,064 |
| Oct 20, 2026 | 2,016 |
| Oct 19, 2026 | 2,183 |
| Oct 18, 2026 | 2,190 |
| Oct 17, 2026 | 2,258 |
| Oct 16, 2026 | 2,494 |
| Oct 15, 2026 | 1,945 |
| Oct 14, 2026 | 1,880 |
| Oct 13, 2026 | 1,843 |
| Oct 12, 2026 | 1,855 |
| Oct 11, 2026 | 1,721 |
| Oct 10, 2026 | 1,570 |
| Oct 9, 2026 | 1,669 |
| Oct 8, 2026 | 1,778 |
| Oct 7, 2026 | 1,952 |
| Oct 6, 2026 | 1,996 |
| Oct 5, 2026 | 1,923 |
| Oct 4, 2026 | 2,511 |
| Oct 3, 2026 | 2,676 |
| Oct 2, 2026 | 2,803 |
| Oct 1, 2026 | 2,715 |
| Sep 30, 2026 | 2,762 |
| Sep 29, 2026 | 2,812 |
| Sep 28, 2026 | 2,807 |
| Sep 27, 2026 | 2,430 |
| Sep 26, 2026 | 2,298 |
| Sep 25, 2026 | 2,308 |
| Sep 24, 2026 | 2,439 |
| Sep 23, 2026 | 2,669 |
| Sep 22, 2026 | 2,717 |
| Sep 21, 2026 | 2,676 |
| Sep 20, 2026 | 2,548 |
| Sep 19, 2026 | 2,449 |
| Sep 18, 2026 | 2,492 |
| Sep 17, 2026 | 2,417 |
| Sep 16, 2026 | 2,026 |
| Sep 15, 2026 | 1,869 |
| Sep 14, 2026 | 1,815 |
| Sep 13, 2026 | 1,608 |
| Sep 12, 2026 | 1,439 |
| Sep 11, 2026 | 1,122 |
| Sep 10, 2026 | 966 |
| Sep 9, 2026 | 918 |
| Sep 8, 2026 | 939 |
| Sep 7, 2026 | 1,109 |
| Sep 6, 2026 | 1,432 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1219456689-root)<a href="https://payloaddirectory.dev/plugins/1219456689-root"><img src="https://payloaddirectory.dev/badge/1219456689-root.svg" alt="Payload Directory"></a>README
Block editor plugin for Payload CMS that adds a side-by-side live-preview iframe and sidebar to the edit view.
Open the editor from any document's edit view. The preview iframe loads your live frontend; clicking a block selects it and opens its real Payload fields in the sidebar - no schema duplication, no custom components.

Hover any block in the preview to surface its floating action toolbar - move up, move down, duplicate, add-below, delete. All actions go through Payload's form state and are tracked by the plugin's undo/redo history.

Switch between Desktop, Tablet, Mobile, and Responsive (drag-resizable). The fullscreen button is independent - it puts the whole editor (preview + sidebar) into fullscreen while the iframe keeps the viewport size you picked. The sidebar itself can be drag-resized to any width or collapsed entirely to give the preview the full canvas.

BetterEditorSettings global so admins can change sidebar position, hover colours, tablet/mobile breakpoints, and hover-toolbar placement live - no re-deployCmd/Ctrl+Z and Cmd/Ctrl+Shift+Z - snapshot-based, covers every block mutationRenderFields, so custom field components, validations, and access control all just workpnpm add payload-better-editor
See DEVELOPERS.md for setup, plugin options, runtime settings, and architecture notes.
>=3.81.0Found a bug? Early-stage plugin, feedback is appreciated. Open an issue with steps to reproduce, your Payload version, and a minimal example. PRs welcome.
Topics
payload inplace
Live inline editing for Payload-powered Next.js websites with block reordering and reviewed drafts
62175/wk6v3
plugin
On-page editing and draft preview links for Payload collections and globals on a Next.js frontend
6068/wk4v3 v4
plugin
Click-to-edit inline visual editing and block operations on top of Payload Live Preview
581.3k/wk13v3
payload live nav
Section index and field focus bridge that syncs the Payload edit form with the Live Preview
5414/wk0v3
payload better preview
Live preview with block hover highlighting and two-way scroll sync between the Payload admin and the preview
4846/wk16v3
payload preview click
Click a block or field in Payload live preview to jump to it in the edit form
6913/wk0v3