Puck Visual Editor
The Puck visual editor as an EmDash field widget: edit any JSON field as a page layout, render it on the public site, pick images from the media library and optionally use Puck AI.
Plugin
Puck Visual Editor
The Puck visual editor as an EmDash field widget: edit any JSON field as a page layout, render it on the public site, pick images from the media library and optionally use Puck AI.
The Puck visual editor as an EmDash field widget: edit any JSON field as a page layout, render it on the public site, pick images from the media library and optionally use Puck AI.
Installation
Install the package from npm:
npm install emdash-plugin-puck
Register the plugin in your Astro config:
import emdash from "emdash/astro";
import puck from "emdash-plugin-puck";
export default defineConfig({
integrations: [
emdash({
plugins: [
puck({ adminEntry: new URL("./src/puck/admin.tsx", import.meta.url).href }),
],
}),
],
vite: {
optimizeDeps: {
// Required. Add "@puckeditor/plugin-ai" if used, and every bare
// dependency your blocks import. See "optimizeDeps" below.
include: ["@puckeditor/core"],
},
},
});
Details
- Latest version: 0.3.0
- License: MIT
- Publisher: Marko Stankovic
- Requires: EmDash
>=0.35.0 <2.0.0 - Source repository: https://github.com/markoinla/emdash-plugin-puck
- npm package: emdash-plugin-puck