bobzhang/codemirror provides the browser editor, JavaScript bindings, CSS,themes, and CodeMirror 5 language-mode adapters. Its JavaScript bundle exposeswindow.CodeMirror. Build it with moon build bundle --target js.
The editor depends on bobzhang/codemirror-lang for portable tokenization.The workspace READMEprovides installation instructions, examples and the browser test setup.