Re:CodeMirror 6
by dmitryminkovsky on Friday February 05, 2021 @04:37PM
(#26041520)
> I'm guessing the integration will be basically a wrapper component with a ref of a DOM node where CodeMirror will do its thing.
Pretty much. This is how my React ProseMirror integration works: https://github.com/dminkovsky/use-prosemirror/blob/main/src/.... Though there are some complexities. I believe CodeMirror would be the same.
I'm guessing the integration will be basically a wrapper component with a ref of a DOM node where CodeMirror will do its thing.