tiptap
tiptap copied to clipboard
feat: drag and drop across multi editors
Please describe your changes
Delete content when drop on another editor,
At the same time, it does not affect the normal drop event effect of the editor.
Work in nested nodes too.
Core change of code:
https://github.com/ueberdosis/tiptap/pull/4328/files#diff-6eddae5591c39b131ab5597e8ac574df71fafda96023c4573c45fd73ed066b9f
Related issues
https://github.com/ueberdosis/tiptap/issues/3133
Demo
https://deploy-preview-4328--tiptap-embed.netlify.app/preview/Experiments/MultipleEditors
or checkout this pull request
- npm run dev
- Visit http://localhost:3000/preview/Experiments/MultipleEditors
https://github.com/ueberdosis/tiptap/assets/38745323/d9e6c03a-edb4-4543-b723-b7511c3a844c
Deploy Preview for tiptap-embed ready!
Name | Link |
---|---|
Latest commit | 3d374703567765cf4a10dc26dced5a9eb780b4bd |
Latest deploy log | https://app.netlify.com/sites/tiptap-embed/deploys/65a770729694710008105aff |
Deploy Preview | https://deploy-preview-4328--tiptap-embed.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Another related pull request: https://github.com/ueberdosis/tiptap/pull/3429
@songispm is this ready to merge given the change which was requested was made?
yes, I think it's worked.
https://github.com/ueberdosis/tiptap/pull/4328/files
Great work! Is it straightforward to do this React? I see thereβs currently only a Vue example. @bdbch if you are happy do you think this could get in to a release?
Would like to use this feature!