I found something strange in my test project, i wrote some characters in my editor ( Prosemirror + Yjs) and delete some by backspace, then checked the ydoc.
the ydoc.store.clients shows the operation of that delete operation as blow:
it’s content’s str preserve the '22222" which i just deleted precisely。
if i save the doc and restore it from db, i saw that operation is as blow:
the delete struct only has information of ‘len’ rather than ‘str’,
I am wondering what lead to this change ?