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: BlockTypeDropdown can not select Heading #332

Conversation

prathameshjchavan
Copy link

BlockTypeDropdown can now able to select the appropriate heading as per the level of the heading.

fixes: #328

Changes:

  • Changed the logic for isSelected prop
  • If the block.type is 'heading', it will also check for the level of heading in block.props.level
blocknote-bug-fix.mp4

@vercel
Copy link

vercel bot commented Aug 27, 2023

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

A member of the Team first needs to authorize it.

@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 can not select Heading
2 participants