[Bug/Missing feature]: OnReadOnlyChecked #4521
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
Extension-task-item
What Tiptap version are you using?
2.1.11
What’s the bug you are facing?
The function OnReadOnlyCheck doesn't update the editor, only the checkbox visibly.
task-item.ts line 135
It has the node and value of the tick in it's parameters to try and offer the possibility to manually update the editor but running the following function:
The nodes never match using
node.eq(subnode)
. <= This is what I think is a bug unless I am doing something wrong.Now that test would not be needed if the position was also given in the parameters. <= Missing feature?
It would also be nice if we could get the editor as parameter, like the other basic events do.
What browser are you using?
Other
Code example
No response
What did you expect to happen?
For
node.eq(subnode)
to return "true" once.I actually tried to isolate those nodes values and found that they should in fact be matching but yet aren't.w
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: