Move an image doesn't work with drag and drop
What’s broken?
When I try to move a block containing an image using drag and drop I get 2 errors
- the toolbar opens (not my intention, I didn't click on it)
- the image is not dropped to where it was highlighted (in light blue). It stays in its location Currently the only way I can move images is by
- using the keyboard shortcut to move a block ctrl + maj + up / down
- or ctrl + x and the ctrl + v
What did you expect to happen?
I would expect the image toolbar to open only when hovering over it when on desktop and taping on it on mobile. it should move to the highlighed location in light blue.
Steps to reproduce
https://github.com/user-attachments/assets/8742433b-34ba-4400-9462-9816c469f0a2
BlockNote version
No response
Environment
firefox 148 en NixOS 64bit
Additional context
tested on https://www.blocknotejs.org/demo#rlgys
Contribution
- [ ] I'd be interested in contributing a fix for this issue
Sponsor
- [x] I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Hi, I'm working on this now for a class open-source assignment!
Hi, I've reproduced this locally and on Firefox (as well as the demo link). When dragging an image block, the formatting toolbar opens mid-drag, but the drop itself works. Can you share anything else that might help me reproduce the drag function not working?