steven-tey / novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
https://novel.sh
Apache License 2.0
12.21k stars 1.02k forks source link

feat: Updated Drag Handle #360

Closed NiclasDev63 closed 4 months ago

NiclasDev63 commented 5 months ago

Describe the feature you'd like to request

It would be useful if the drag handle could also be used to drag list items as expected. Furthermore it would be practical to drag several nodes at the same time.

Describe the solution you'd like to see

Have a look at the following extension i created, based on your drag handle. Please note that in order to get the expected behavior for lists, e.g. if a list item or several list items are dropped before or after a list, the two lists are merged, another extension of mine must be used.

Additional information

Opened a PR as well