Payload CMS plugin which provides a visual live editor directly in the Admin UI. Works for collections and globals. Compatible with any kind of JS/TS based frontend technology.
The Payload Visual Editor Plugin is a plugin that provides a visual live preview with a user-friendly interface for the Payload CMS. It is compatible with different versions of Payload. The plugin adds a visual editor component to collections and globals, creating a visual editor UI in the Admin UI’s edit view. It also handles the live data exchange with the frontend.
To install the Payload Visual Editor Plugin, follow these steps:
{
previewUrl: ({ locale: string }) => string,
defaultPreviewMode: "iframe" | "popup" | "none",
previewWidthInPercentage: number,
collections / globals: Record<string, { previewUrl?: ({ locale: string }) => string }>
}
The Payload Visual Editor Plugin is a useful tool for the Payload CMS that adds a visual editor with a live preview to collections and globals. It simplifies the editing process and allows for real-time data exchange with the frontend. Installation is straightforward, and additional customization options are available for preview modes, width, and localization. The plugin also provides features like relation fallbacks and frontend integration in React/Next.js.