NiclasDev63 / tiptap-extension-global-drag-handle

MIT License
45 stars 6 forks source link

How can I edit the drag handle button? #7

Open aydinvivik opened 3 months ago

aydinvivik commented 3 months ago

Hello, the plugin works fine for me, but can I edit the button? For example, I want to add a popover that I will give different actions to delete when clicked. I also want to add different buttons next to it.

NiclasDev63 commented 3 months ago

Currently there is no support for this function. I would recommend that you fork this repo (or copy and paste the code into your project) and make the desired changes yourself.

But it sounds like a useful feature, so maybe I'll implement it myself in the near future and then upload a new version of the package to npm.

aydinvivik commented 3 months ago

thank you very much, it would be a very useful feature. I'll try to edit it myself until the update comes.

chanthus commented 2 months ago

I need to do something similar so I had a go at being able to specify custom drag handles: https://github.com/NiclasDev63/tiptap-extension-global-drag-handle/pull/10

NiclasDev63 commented 2 months ago

Just published the new version on npm @aydinvivik

aydinvivik commented 2 months ago

Just published the new version on npm @aydinvivik

Great, thank you very much.

gulugulu-cy commented 5 days ago

I want to add a popover that I will give different actions to delete when clicked. I also want to add different buttons next to it. Has this been implemented yet?