CodeMirror 6 is used in a web based IDE that I use regularly.
Is there some way to access the editor instance? In the past, I could use the ‘CodeMirror’ class to find the DOM element and go from there but using ‘cm-editor’ doesn’t behave the same way.
I can see that there is a ‘findFromDom’ method on the EditorView class, which sounds like it might do what I need, but I have no idea how to access that.
Could somebody perhaps point me in the right direction?