misojs-codemirror-component
A code mirror component for use in misojs
installation
In your main misojs application directory:
npm install misojs-codemirror-component --save
Usage
Acceess the component in your mvc entities like so:
var CodeMirror = ;
In your controller, you might set a value like so:
thiscodeMirrorValue = m;
And in your view:
This will render a code mirror editor.
Isomorphism
The server generated code simply returns a textarea, whereas the client side code runs the code mirror editor.