Replies: 2 comments
-
Hi @OlivierCo! I'm Dosu and I’m helping the plate team. The module To add drag-and-drop support, install these dependencies: pnpm add @platejs/dnd react-dnd react-dnd-html5-backend Then, import and use the import { DndPlugin } from '@platejs/dnd';
const plugins = [
// ...other plugins
DndPlugin,
]; For a full setup (plugins, UI, config), you can use the feature kit: npx shadcn@latest add https://platejs.org/r/dnd-kit Full docs and advanced usage: platejs.org/docs/dnd To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
The module pnpm add @platejs/dnd react-dnd react-dnd-html5-backend Then, import and use the plugin like this: import { DndPlugin } from '@platejs/dnd';
const plugins = [
// ...other plugins
DndPlugin,
]; You can find more details and examples in the official Plate drag-and-drop docs. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
It seems that the platejs/plate-dnd is not found
Reproduction URL
No response
Reproduction steps
Plate version
49.2.12
Slate React version
0.117.4
Screenshots
Logs
Browsers
No response
Beta Was this translation helpful? Give feedback.
All reactions