@hoalen/tiptap-drag-handle
v1.0.3
Published
Global drag handle for TipTap text editor
Downloads
6
Readme
Tiptap Drag Handle
Description
Tiptap Drag Handle is a plugin for the Tiptap editor that adds drag handles to draggable elements, making it easier to reorder content.
Installation
To install the plugin, use npm or yarn:
npm install @hoalen/tiptap-drag-handleUsage
To use the plugin, import it and add it to your Tiptap editor instance:
import { Editor } from '@tiptap/core';
import DragHandle from '@hoalen/tiptap-drag-handle';
const editor = new Editor({
extensions: [
// ...existing extensions...
DragHandle,
],
// ...existing configuration...
});Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License.
