I’ve got prose mirror working with prosemirror-markdown, I am using the normal ProseMirrorView
by default but parsing and serializing with the markdown library. The issue I have is newlines in the editor are being converted to <br>
tags.
My current script is here https://github.com/writeas/writefreely/blob/wysiwyg/prose/prose.js.
I did find reference to hard_break
line breaks in the default markdown parser and serializer so assume I could either write something custom for parsing/serializing or maybe use a custom schema, or both.
Any help would be really appreciated.