Ability to go back and forth between html and PM


#1

Hello,

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


#2

This is what the DOMSerializer and DOMParser classes are for.


#3

Thank you!

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


#4

Check out Marijn’s markdown example