A minimal template for building rich-text editors with Plate and Next.js 15.
Choose one of these methods:
npx shadcx@latest init -u https://platejs.org/r
npx shadcx@latest add editor-basic -r plate
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 shadcx@latest add editor-ai -r plate -o