-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Error when check taskItem #2372
Comments
Sorry, but I can’t reproduce this in Chrome, Firefox or Safari 🤷♂️ |
Very weird 🤔. I use Chrome (Version 97.0.4692.71 (Build officiel) (64 bits)), no problem in private navigation, but otherwise : bug.mp4the pull request fixes my issue |
Maybe it’s one of your browser extensions then. |
Yes, definitely, in my case it's the Bitwarden extension that in cause. It may interfere with the prosemirror function |
If it’s this extension we can’t do anything here. ProseMirror does not work well with extensions that hook into contenteditable. |
What’s the bug you are facing?
An error occurs when trying to check/uncheck a task item :
Uncaught RangeError: Index 1 out of range for <taskList(taskItem(paragraph("A list item")), taskItem(paragraph("And another one")))>
getPos() return undefined in task-item.ts#L123
How can we reproduce the bug on our side?
Try this doc example.
Can you provide a CodeSandbox?
No response
What did you expect to happen?
Being able to check / uncheck a task.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: