Skip to content

fix: table error in collaboration mode #1536

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
Mar 17, 2025
Merged

fix: table error in collaboration mode #1536

merged 1 commit into from
Mar 17, 2025

Conversation

YousefED
Copy link
Collaborator

fixes Table block does not contain a 'tbody' HTML element. This should never happen. when in collab mode.

It's a quick fix to fix just this issue. The TableHandlesPlugin definitely needs a refactor to:
a) make the code clearer
b) work better with collaboration. e.g.: we currently also store a nodepos in the state which is unsafe for collaboration scenarios (because the position can change when there are incoming changes)

I'll create a separate ticket for this

Copy link

vercel bot commented Mar 17, 2025

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

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Mar 17, 2025 10:40am
blocknote-website ✅ Ready (Inspect) Visit Preview Mar 17, 2025 10:40am

@nperez0111
Copy link
Contributor

Agreed on all points

@YousefED YousefED changed the title fix table error fix: table error in collaboration mode Mar 17, 2025
@YousefED YousefED merged commit 8e9195b into main Mar 17, 2025
11 checks passed
@YousefED YousefED deleted the fix/table-error branch March 17, 2025 17:59
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