Skip to content

fix: Enter preserves block type when text cursor is at the start of a block #370

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 1 commit into from
Oct 9, 2023

Conversation

matthewlipski
Copy link
Collaborator

This PR brings the UX slightly more inline with Notion by changing the behaviour when pressing Enter at the start of a block. Before, it would copy the content to a new block below but the new block would always be a paragraph. Now, the block's type is also copied over.

@vercel
Copy link

vercel bot commented Oct 5, 2023

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

Name Status Preview Updated (UTC)
blocknote-website ✅ Ready (Inspect) Visit Preview Oct 5, 2023 6:02pm

@matthewlipski matthewlipski merged commit 4ba74b6 into main Oct 9, 2023
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.

2 participants