Ability to go back and forth between html and PM


I need to have the ability to go back and forth between the whole editor being HTML editable and Prosemirror (not just including code snippets). Has anyone implemented this before?

I have no idea how to get started implementing this.

Thank you, Trey

This is what the DOMSerializer and DOMParser classes are for.

Thank you!

So 2 views, each with their own serializer and parser?

Check out Marijn’s markdown example