-
-
Notifications
You must be signed in to change notification settings - Fork 518
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
TypeError: Cannot read properties of undefined (reading 'colIndex') when using table handles in BlockNote #1411
Labels
bug
Something isn't working
Comments
same error when deleting the last cell of a table "@blocknote/react": "^0.22.0" Also we got this:
|
@nperez0111 do you think #1446 will address this? |
Hard to say without a full reproduction, but I did partially rewrite the table handle behavior, so I think it should address this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using BlockNote with table handles enabled, I frequently encounter the following error:
TypeError: Cannot read properties of undefined (reading 'colIndex') at HTMLDivElement.<anonymous>
This error occurs randomly when interacting with tables in the editor.
Environment
Code Example
// Editor component
Steps to Reproduce
Expected Behavior
Table handles should work smoothly without throwing undefined property errors.
Additional Context
Would appreciate any help in resolving this issue or guidance on proper configuration of table handles.
The text was updated successfully, but these errors were encountered: