Hi! I need to transform my JSON structure from ProseMirror to HTML on the NodeJS server. What’s the best way to do it?
Right now I’m using
DOMSerializer.fromSchema(schema).serializeFragment(Node.fromJSON(schema, json))
But It doen’st work for a server because the “prosemirror-model” node module uses window
What can I do? Thanks