Inline Visual Editor SDK

Frontend SDK that lets a site accept inline visual editing from Payload Live Preview

Community 11 1.3k/wk MIT v1.0.1

Installation

pnpm add @payload-inline-visual-editor/core

About

This SDK runs on the frontend of a site and turns the Payload Live Preview iframe into an editing surface. Editors hover over highlighted regions, double-click a heading, paragraph or block, and change it with the native Payload field UI while the page updates as they type. Block rows can be added, duplicated, removed and reordered directly on the page.

The SDK is vanilla TypeScript with no framework dependency, so it fits plain JavaScript sites and frameworks without an official adapter. It stays inert until the admin panel completes a handshake with the Payload server, so it does nothing for regular visitors.

Package info

Package name
@payload-inline-visual-editor/core
Latest version
1.0.1
Unpacked size
96 kB
License
MIT
Weekly downloads
1.3k
Last publish
Jul 20, 2026

More from what-digital

View profile

Click-to-edit visual editing on a Payload Live Preview page with block controls

Type-safe client for the Payload REST API with CRUD, auth and file uploads

Framework-agnostic SDK for inline visual editing on Payload-powered sites

Angular query builder that sends list queries to Payload and other backends as signals

Registers custom drag-and-drop blocks for the Olgax page builder

Lets Puck components pull filtered Payload collection items into a resolved prop

Signed client for the VAP API, plus a Payload plugin for storefront sign-in and checkout