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: Error thrown on Backspace in first block #1165

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

matthewlipski
Copy link
Collaborator

@matthewlipski matthewlipski commented Oct 18, 2024

In one of the Delete keyboard handlers, we call getPrevBlockPos before checking if a previous block exists in the document, leading to an error being thrown.

closes #1167

Copy link

vercel bot commented Oct 18, 2024

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Oct 18, 2024 9:20am
blocknote-website ✅ Ready (Inspect) Visit Preview Oct 18, 2024 9:20am

@YousefED YousefED merged commit 210bc83 into main Oct 18, 2024
5 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.

HItting backspace at beginning of document throws error in 0.17.0
2 participants