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

fix: Made all events in non-selectable blocks get handled by browser #1112

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

matthewlipski
Copy link
Collaborator

It seems pointless to let the editor handle any events within a non-selectable block, as these are basically islands of content that aren't handled by ProseMirror.

This fix is mainly done as keyboard events may still be handled by PM before reaching the DOM - I noticed this was causing some issues in the DO database block.

Copy link

vercel bot commented Sep 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Sep 30, 2024 1:10pm
blocknote-website ✅ Ready (Inspect) Visit Preview Sep 30, 2024 1:10pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant