Hi
We are converting a long-standing prosemirror application to use YJS. Currently, when we load the initial document we are using…
const ydoc = new Y.Doc();
Y.applyUpdate(ydoc, oldDocAsUpdate);
This works well. However… when a user presses the undo button - they delete the contents of the whole migrated document. Is there a simple way to exclude this from the history stack?