yii2-codemirror icon indicating copy to clipboard operation
yii2-codemirror copied to clipboard

Results 5 yii2-codemirror issues
Sort by recently updated
recently updated
newest added

Hello. Please see the code regarding "bower-asset/codemirror": "*". At the moment, version 6 is being loaded, which is not compatible with the previous 5 ... and, accordingly, there are broken...

how can i do the equivalent of the follwing: window.editor_markdown = CodeMirror.fromTextArea(te_markdown, { mode: "markdown", lineNumbers: true, lineWrapping: true, extraKeys: {"Ctrl-Q": function(cm){ cm.foldCode(cm.getCursor()); }}, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] });

Is it possible to get the instance of the editor? The issue I'm having is that my JavaScript file is added to the page before the inline JS is added...