NiclasDev63 / tiptap-extension-global-drag-handle

MIT License
45 stars 6 forks source link

Problems encountered when dragging tables #5

Closed xiangshu233 closed 4 months ago

xiangshu233 commented 4 months ago

Hello, I installed the GlobalDragHandle extension according to the documentation and it displayed the drag handle correctly, but when I encountered the table, the following problems occurred when dragging.

https://github.com/NiclasDev63/tiptap-extension-global-drag-handle/assets/49575330/95422d6e-4078-4a95-b944-410d7b3c1449

NiclasDev63 commented 4 months ago

Unfortunately i was only able to reproduce a part of your problem because by default in my editor the whole table is selected and not only a row. But to ensure that the row (in my case the whole table) is deleted from the old position after the row/table has been inserted at a new position, you should activate the following option: image

xiangshu233 commented 4 months ago

Thanks, it worked for me, thanks for the plugin, I'm still a noob😺