HTML Preview

Live preview and click-to-edit for Payload on static sites and template engines

Community 49/wk MIT v1.0.2

Installation

pnpm add @focus-reactive/payload-plugin-html-preview

About

HTML Preview gives Payload editors a live preview of pages built by sites that do not run React, such as Nunjucks, Liquid, Eleventy or PHP sites. The site renders the document with its own templates, and the admin shows that page in the preview, proxied through Payload so it shares one origin. Editors see unsaved changes with the real layout, including reordered blocks, hidden rows and formatted dates.

Clicking a section in the preview opens the matching field in the admin, switching to the right tab and expanding collapsed rows. Clicks on documents from other collections open them in a drawer without losing unsaved edits. The site only prints a few data attributes in preview renders, so the public pages stay unchanged.

Package info

Package name
@focus-reactive/payload-plugin-html-preview
Latest version
1.0.2
Unpacked size
134 kB
License
MIT
Weekly downloads
49
Last publish
Sep 28, 2026

More from focusreactive

View profile

Adds a GA4-backed analytics dashboard and event tracking to the Payload admin

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Live SEO checks in the Payload document editor, with a SERP preview

Splits page traffic between variants you create in the Payload admin

Click-to-edit overlays on the frontend that open the matching field in the admin

Saves and applies reusable block presets from the admin panel

Similar plugins

More in Content

Lets admins define record types and fields at runtime without schema changes

Click text in a Next.js preview to open the matching field in the Payload admin

Markdown fields with a CodeMirror editor, styled directives and MCP access for AI agents

Uses prefixed UUIDv7 TypeIDs as native Payload document IDs per collection

Creates redirect rules automatically when published URLs change

Shared CMS setup for Pebble sites: users and roles, R2 media, signed cache purge and previews