Repo to reproduce issue in creating yjs upates from Prosemirror transactions. This was initially discussed on the Yjs Community forum.
To reproduce the issue:
- Install dependencies:
npm ci
- Run demo to see that Yjs doc contains "Hello world" text but Prosemirror doc doesn't:
$ npm run demo YJS: {"type":"doc","content":[{"type":"paragraph","attrs":{"style":"","nodeIndent":0,"nodeTextAlignment":""},"content":[{"type":"text","text":"Hello world"}]}]} PM: {"type":"doc","content":[{"type":"paragraph"}]}