@richkitjs/extension-drag-handle
v0.2.2
Published
Block drag handle for RichKit: drag to reorder blocks, plus block actions such as duplicate (Mod-D) and delete.
Maintainers
Readme
@richkitjs/extension-drag-handle
Block drag handle for @richkitjs/core, a headless ProseMirror-based rich text editor.
Gives every top-level block a Notion-style gutter: point at a block to find it, drag it to a new position with a drop indicator, and run block actions (duplicate, delete, copy, turn into) on it.
Install
npm install @richkitjs/extension-drag-handle @richkitjs/coreMost users should install @richkitjs/starter-kit instead, which bundles all extensions.
The handle UI itself is a framework component — see <BlockHandle> in @richkitjs/react.
Docs
See the repository for usage and API documentation.
License
MIT — free for any use, commercial or not.
Need DOCX, track changes, comments, AI or the Pro editors (Notion, Classic, Question…)? Those are RichKit Pro.
