I have a an app with lots of textareas that get rendered into an HTML report. We’ve allowed storage of simple HTML formatting on the server because some people wanted formatting and knew basic HTML. But ProseMirror is a much better solution. What I would like to do is use Prosemirror to convert the HTML to Markdown when the textarea is initially mounted, then use Markdown after that (and not allow HTML in the database).
Is there a way to set the docFormat to markdown but initially read in a and convert HTML?
Thanks