yjs / y-prosemirror

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

Use `undomanager.addToScope` instead of `.scope` property #98

Open dmonad opened 2 years ago

dmonad commented 2 years ago

The Y.UndoManager now has a method that allows adding to scope. This is required for compatibility with the Y.MultiDocUndoManager from y-utility.