A minimal template for building rich-text editors with Plate and Next.js.
- Node.js 20+
- pnpm
Choose one of these methods:
npx shadcn@latest add https://platejs.org/r/editor-basicUse this template, then install dependencies:
pnpm installpnpm devVisit http://localhost:3000/editor to see the editor in action.
Using the CLI, you can upgrade to editor-ai by running:
npx shadcn@latest add https://platejs.org/r/editor-ai -o