Skip to content

"Custom Block Types" doc doesn't work with drag and drop #1683

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

Closed
1 task
AgainstLightning opened this issue May 13, 2025 · 2 comments
Closed
1 task

"Custom Block Types" doc doesn't work with drag and drop #1683

AgainstLightning opened this issue May 13, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@AgainstLightning
Copy link

AgainstLightning commented May 13, 2025

Describe the bug
When moving the custom Alert element it does not work, the blocks vanish on move

To Reproduce

  1. Visit https://www.blocknotejs.org/docs/custom-schemas/custom-blocks
  2. Move the Alert element or any other lines

Misc

  • Node version: N/A
  • Package manager: N/A
  • Browser: Brave
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖
@AgainstLightning AgainstLightning added the bug Something isn't working label May 13, 2025
@AgainstLightning AgainstLightning changed the title "Custom Block Types" doc doesn't work with drag and drop or appear in slash menu "Custom Block Types" doc doesn't work with drag and drop May 13, 2025
@nperez0111
Copy link
Contributor

This example is a more fleshed out example of the full alert box integration: https://www.blocknotejs.org/examples/custom-schema/alert-block-full-ux

@YousefED
Copy link
Collaborator

@nperez0111 I think it's still a bug though, right? I think it's related to having multiple editors on the page, and a duplicate of #1653 that @matthewlipski is working on atm

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

3 participants