Can you please directly me to the code for the “examples”? I’m trying to integrate Prose into an existing component and it would be very helpful to see the full html and JavaScript in the example. Thank you..
This is a good start: https://codepen.io/JessieWooten/pen/wYObEX
I did not find in the codepen.io css/editor.css file in any of the main npm pacakges. The layout was very off without this css/editor.css file.
Also, it is not clear to me what is the best way to get data in and out of the editor. That seems pretty important. It is saying something about immutable state so I’ll probably go directly to the DOM. I’m really guessing. And, there is html sanitation and security. All that would make for a very good example, things that nearly everyone needs.
And for data in / out if markdown is a good fit: GitHub - marekdedic/prosemirror-unified: ProseMirror Unified integration