Skip to content

fix: block type dropdown cannot update to different levels of heading #334

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

Conversation

prathameshjchavan
Copy link

BlockTypeDropdown can now able to update different levels of heading.

fixes: #333

Changes:

  • Changed the updateBlock function to check the block type as 'heading'
  • If it is heading then, it will pass the level of heading as props instead of empty object {}.
blocknote-update-heading-fix.mp4

@vercel
Copy link

vercel bot commented Aug 28, 2023

@prathameshjchavan is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

@kaianuar
Copy link

Would be good to let this go through as it's a bug that's affecting my implementation of BlockNote as well.

@matthewlipski
Copy link
Collaborator

Fixed in #322

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.

BlockTypeDropdown cannot update to different levels of heading
3 participants