When I delete a char at anywhere, I want the changed range gived
Additional Context (Optional)
I try to make a track-change extension for tiptap, it works in most normal cases but wrong in some custom-node cursor gap, I try to understand why prosemirror give this kind of "ReplaceStep" back
Affected Packages
tiptap/vue-2 titpap/pm
Version(s)
latest
Bug Description
when I delete a char, the transaction replace step means I delete somechars and re-add it back
Browser Used
Chrome
Code Example URL
https://codesandbox.io/p/sandbox/tiptap-2-bug-ph3v4w
Expected Behavior
When I delete a char at anywhere, I want the changed range gived
Additional Context (Optional)
I try to make a track-change extension for tiptap, it works in most normal cases but wrong in some custom-node cursor gap, I try to understand why prosemirror give this kind of "ReplaceStep" back
Dependency Updates