CodeMirror
A component that integrates the CodeMirror editor.
Properties
The JavaScript files of Codemirror to load, either locally or from a CDN.
Whether or not show line numbers.
The content to display until the editor is loaded.
The mode of the editor.
Handler for the change event.
Wether or not the content is editable.
The CSS files of Codemirror to load, either locally or from a CDN.
The number of spaces userd for indentation.
The theme of the editor.
When provided this value will be in the editor.s
Functions
Loads all assets when the components mounts.
After an update, update the underlying editor instance.
Initializes the editor for the given dom element.
Renders the component.