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

feat: Selectable non-editable text in blocks without inline content #1087

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

matthewlipski
Copy link
Collaborator

This PR makes it possible to have blocks without inline content which contain selectable, non-editable text. Currently, you cannot select text while the block is selected, and selecting text while a different block is selected in the editor leads to a mismatch in editor & DOM selections. You can toggle this functionality using the canSelectText entry in a block config.

Copy link

vercel bot commented Sep 18, 2024

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

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

- Fixed copying when whole node is selected
- Added formatting toolbar controller fix
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