# Drag Handle A floating handle that reorders blocks, including the ones nested in lists and quotes. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-drag-handle ``` > Typography requires [shadcn/typeset](https://ui.shadcn.com/docs/typeset). Copy `typeset.css` next to your main stylesheet, import it after Tailwind and add the `.typeset-docs` preset. The drag handle is a control, not an extension: it mounts its own plugin when it renders. Nested blocks such as list items and quoted paragraphs can be dragged on their own. If your project disables automatic peer dependency installation, install `@tiptap/extension-drag-handle` next to the React package. ## API Reference ### EditorDragHandle Floating handle that reorders the block under the pointer. Render it inside the editor; it follows the pointer and hides when the document is read-only. | Prop | Type | Default | | --- | --- | --- | | `className` | `string` | - | ## Registry dependencies - `litingyes/blocove/rich-text-editor` - `litingyes/blocove/rich-text-editor-extension` Namespace: `npx shadcn@latest add @blocove/rich-text-editor-drag-handle`