I can get the markdown content from the markdown example on the website(http://prosemirror.net/examples/markdown/).
How can I get the innerHTML content from the ProseMirrorView?
Thanks.
I can get the markdown content from the markdown example on the website(http://prosemirror.net/examples/markdown/).
How can I get the innerHTML content from the ProseMirrorView?
Thanks.
Render the document into a DOM node with DOMRender.renderFragment
, and then take that node’s innerHTML
.