As you can read in this thread, “every synced change ends up replacing the whole document”. That’s also the reason I didn’t use y-prosemirror, yet (though the author said he started to adapt the code to use Prosemirror transforms at the beginning of this year).