A minimal template for building rich-text editors with Plate and Next.js 15.
- Node.js 20+
- pnpm 9+
Choose one of these methods:
npx shadcn@latest add https://platejs.org/r/editor-basic
Use this template, then install dependencies:
pnpm install
pnpm dev
Visit 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