Skip to content

How to make EVERYTHING draggable... #26

Closed Answered by sibiraj-s
rchrdnsh asked this question in Q&A
Discussion options

You must be logged in to vote

One way to make and editable nodeview draggable is to have a non contentediable element inside the editable nodeview by explicitly setting contenteditable=false on the element which can act as drag handle. See the example https://sibiraj-s.github.io/svelte-tiptap/, where all nodeviews are draggable

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@sibiraj-s
Comment options

@sibiraj-s
Comment options

@sibiraj-s
Comment options

Answer selected by sibiraj-s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants