Skip to content

fix: Nest block buttons should only be visible for certain blocks #646

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 2 commits into from
Mar 14, 2024

Conversation

matthewlipski
Copy link
Collaborator

This PR makes the nest/unnest block buttons visible only for blocks that contain inline content (no images/tables). If multiple blocks are selected, all of them need to contain inline content for the buttons to be visible.

Closes #360 and #371

Copy link

vercel bot commented Mar 14, 2024

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Mar 14, 2024 2:56pm
blocknote-website ✅ Ready (Inspect) Visit Preview Mar 14, 2024 2:56pm

@matthewlipski matthewlipski merged commit d9dffdb into main Mar 14, 2024
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.

Meaningless formatting toolbar for custom blocks in 0.9.4
2 participants