How do I cancel/stop a transaction/update? #5822
Replies: 1 comment
-
|
Prosemirror plugins are able to So you can create a prosemirror plugin in Tiptap to do that: https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#access-the-prosemirror-api |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am using tiptap with https://github.com/sibiraj-s/svelte-tiptap but I think this question is a general tiptap-question
How can in an event stop/cancel a current transaction/update? I am able to capture events onTransaction and onUpdate and I see many props/methods but nothing that says "cancel" or "stop" or something of that sort.
I have also looked in the docs but I only see the handlers, but nothing relating to canceling / stopping
https://tiptap.dev/docs/editor/api/events
Grateful for any help!
Beta Was this translation helpful? Give feedback.
All reactions