I have a Y.Doc and need to convert it to Prosemirror JSON to save the JSON format in my DB. I have tried the yDocToProsemirrorJSON
function provided by the y-prosemirror
package, but that is just returning an empty Prosemirror JSON.
Any suggestions on how I can achieve this?