Skip to content

fix: Pressing Enter on block without inline content #1010

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

Merged
merged 3 commits into from
Aug 17, 2024

Conversation

matthewlipski
Copy link
Collaborator

This PR makes it so that pressing enter in a block without inline content only creates a new block below if no modifiers are pressed. This should make it easier to add shortcuts that use Enter.

Copy link

vercel bot commented Aug 17, 2024

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Aug 17, 2024 4:20pm
blocknote-website ✅ Ready (Inspect) Visit Preview Aug 17, 2024 4:20pm

@matthewlipski matthewlipski merged commit ece1684 into main Aug 17, 2024
4 checks passed
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