yjs / y-prosemirror

ProseMirror editor binding for Yjs
https://demos.yjs.dev/prosemirror/prosemirror.html
MIT License
328 stars 115 forks source link

RangeError: Applying a mismatched transaction #117

Open Alecyrus opened 2 years ago

Alecyrus commented 2 years ago

this commit cause RangeError, you can find more details here

dmonad commented 2 years ago

How can I reproduce the issue?

Alecyrus commented 2 years ago

Wait a minute.. I will create a minimal repo for reproduction later.

Alecyrus commented 2 years ago

@dmonad https://codesandbox.io/s/quirky-brattain-tbtinr,,, after changing y-prosemirror to v1.0.20, you'll find everything is fine.

milesingrams commented 2 years ago

I have the same issue. I think you highlighted the correct part in the commit. Reverting to v1.0.20 fixes.

bdbch commented 2 years ago

Hey @dmonad! We also experienced the same issue over on Tiptap (strangely only in our Vue editor, the React editor worked just fine).

I pointed this it back to version 1.1.0, so the same version that was already reported.

We're going to fix the version to 1.0.20 for now - I'll help out as much as I can to resolve this issue. If you need something, let me know!