Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnd functionality is not working inside editor #1157

Closed
ellykiddy opened this issue Oct 16, 2024 · 2 comments
Closed

dnd functionality is not working inside editor #1157

ellykiddy opened this issue Oct 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ellykiddy
Copy link

ellykiddy commented Oct 16, 2024

Describe the bug

The drag event is detected, but upon dropping, the block order does not update, and the blocks remain in their original position.
The expected behavior is that the block order should change based on the drop position.

Interestingly, if the block is dropped outside the editor, the drop event works as expected. However, when the block is dropped within the editor, it fails to update the block order.

To Reproduce

You can observe this issue in BlockNote examples as well. For instance, the issue can be replicated in this example

dnd.mp4

Misc

  • Node version: v16.14.2
  • Package manager: pnpm
  • Browser: Chrome 129
@ellykiddy ellykiddy added the bug Something isn't working label Oct 16, 2024
@YousefED
Copy link
Collaborator

This is a bug when multiple editors exist on the page. Thanks for reporting

@YousefED
Copy link
Collaborator

duplicate of #1194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants