Block a user
@dahyeon/plate-editor (0.1.0)
Published 2025-11-23 07:47:33 +00:00 by dahyeon
Installation
@dahyeon:registry=https://git.dahyeon.us/api/packages/dahyeon/npm/npm install @dahyeon/plate-editor@0.1.0"@dahyeon/plate-editor": "0.1.0"About this package
A rich-text editor library built with Plate, Slate, and React
Playground Template
A Next.js template with Plate AI, plugins and components.
Features
Requirements
- Node.js 20+
- pnpm
Installation
Choose one of these methods:
1. Using CLI (Recommended)
npx shadcn@latest add https://platejs.org/r/editor-ai
2. Using Template
Use this template, then install dependencies:
pnpm install
Development
Copy the example env file:
cp .env.example .env.local
Configure .env.local:
AI_GATEWAY_API_KEY– AI Gateway API key (get one here)UPLOADTHING_TOKEN– UploadThing API key (get one here)
Start the development server:
pnpm dev
Visit http://localhost:3000/editor to see the editor in action.
Dependencies
Dependencies
| ID | Version |
|---|---|
| @ai-sdk/gateway | ^1.0.40 |
| @ai-sdk/react | 2.0.28 |
| @ariakit/react | ^0.4.19 |
| @emoji-mart/data | 1.2.1 |
| @faker-js/faker | ^10.0.0 |
| @platejs/ai | ^50.3.5 |
| @platejs/autoformat | ^49.0.0 |
| @platejs/basic-nodes | ^49.0.0 |
| @platejs/basic-styles | ^49.0.0 |
| @platejs/callout | ^49.0.0 |
| @platejs/caption | ^49.0.0 |
| @platejs/code-block | ^49.0.0 |
| @platejs/combobox | ^49.0.0 |
| @platejs/comment | ^50.2.0 |
| @platejs/date | ^49.0.2 |
| @platejs/dnd | ^50.3.1 |
| @platejs/docx | ^49.0.0 |
| @platejs/emoji | ^49.0.0 |
| @platejs/excalidraw | ^50.3.0 |
| @platejs/floating | ^50.3.2 |
| @platejs/indent | ^49.0.0 |
| @platejs/juice | ^49.0.0 |
| @platejs/layout | ^49.2.1 |
| @platejs/link | ^50.3.2 |
| @platejs/list | ^50.2.0 |
| @platejs/markdown | ^50.2.0 |
| @platejs/math | ^49.0.0 |
| @platejs/media | ^49.0.0 |
| @platejs/mention | ^49.0.0 |
| @platejs/resizable | ^49.0.0 |
| @platejs/selection | ^50.3.4 |
| @platejs/slash-command | ^49.0.0 |
| @platejs/suggestion | ^50.3.3 |
| @platejs/table | ^49.1.13 |
| @platejs/toc | ^49.0.0 |
| @platejs/toggle | ^49.0.0 |
| @radix-ui/react-alert-dialog | ^1.1.15 |
| @radix-ui/react-avatar | ^1.1.10 |
| @radix-ui/react-checkbox | ^1.3.3 |
| @radix-ui/react-context-menu | ^2.2.16 |
| @radix-ui/react-dialog | ^1.1.15 |
| @radix-ui/react-dropdown-menu | ^2.1.16 |
| @radix-ui/react-popover | ^1.1.15 |
| @radix-ui/react-separator | ^1.1.7 |
| @radix-ui/react-slot | ^1.2.3 |
| @radix-ui/react-toolbar | ^1.1.11 |
| @radix-ui/react-tooltip | ^1.2.8 |
| @udecode/cn | ^49.0.15 |
| @uploadthing/react | 7.3.3 |
| ai | 5.0.28 |
| class-variance-authority | ^0.7.1 |
| clsx | ^2.1.1 |
| cmdk | ^1.1.1 |
| date-fns | ^4.1.0 |
| dedent | 1.0.0 |
| html2canvas-pro | ^1.5.12 |
| lodash | ^4.17.21 |
| lowlight | ^3.3.0 |
| lucide-react | ^0.545.0 |
| pdf-lib | ^1.17.1 |
| platejs | ^49.2.21 |
| react-day-picker | ^9.11.1 |
| react-dnd | ^16.0.1 |
| react-dnd-html5-backend | ^16.0.1 |
| react-lite-youtube-embed | ^2.5.6 |
| react-player | 3.3.1 |
| react-textarea-autosize | ^8.5.9 |
| react-tweet | ^3.2.2 |
| remark-gfm | ^4.0.1 |
| remark-math | ^6.0.0 |
| sonner | ^2.0.7 |
| tailwind-merge | ^3.3.1 |
| tailwind-scrollbar-hide | ^4.0.0 |
| tw-animate-css | ^1.4.0 |
| uploadthing | 7.7.4 |
| use-file-picker | 2.1.2 |
| zod | ^4.1.12 |
Development Dependencies
| ID | Version |
|---|---|
| @eslint/eslintrc | ^3.3.1 |
| @tailwindcss/postcss | 4.1.13 |
| @types/node | ^24.10.1 |
| @types/react | ^19.2.2 |
| @types/react-dom | ^19.2.2 |
| @vitejs/plugin-react | ^5.0.0 |
| eslint | ^9.36.0 |
| eslint-plugin-unused-imports | ^4.2.0 |
| postcss | ^8.5.6 |
| prettier | ^3.6.2 |
| prettier-plugin-packagejson | ^2.5.19 |
| prettier-plugin-tailwindcss | ^0.6.14 |
| react | 19.2.0 |
| react-dom | 19.2.0 |
| tailwindcss | 4.1.13 |
| typescript | ~5.9.3 |
| typescript-eslint | ^8.46.4 |
| vite | ^7.2.4 |
Peer Dependencies
| ID | Version |
|---|---|
| react | ^19.0.0 |
| react-dom | ^19.0.0 |
Keywords
plate
editor
rich-text
react
slate
Details
2025-11-23 07:47:33 +00:00
Assets (1)
Versions (1)
View all
npm
1
dahyeon
MIT
latest
18 MiB
plate-editor-0.1.0.tgz
18 MiB
0.1.0
2025-11-23