[Bug]: Running command inside catch block of try/catch throws mismatched transaction error #4692
Open
1 of 2 tasks
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?
core
What Tiptap version are you using?
2.1.13
What’s the bug you are facing?
This occurs even if you do
editor.commands
instead ofcommands
. Usually usingeditor.commands
is enough to fix it in edge cases, but not in this case.What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
try/catch
Anything to add? (optional)
I tried
commands.first
but it stops if the first command throws an error so it's not suitable either.Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: