Rafał Myszyński

Results 2 comments of Rafał Myszyński

@prenx4x It's possible via ref to CodeMirror editor which you can get via `editorDidMount` callback. Define ref: ``` const cmEditorRef = useRef(); ``` Save ref: ``` const onEditorDidMount = useCallback((editor:...

@pprathameshmore From ``` import * from 'codemirror'; ``` Type package must be installed ``` @types/codemirror ``` You can also (better) import only `Editor` type and use instead of `codemirror.Editor`. ```...