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

codefold

Open malikghanim opened this issue 6 years ago • 0 comments

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"] });

malikghanim avatar Nov 19 '18 00:11 malikghanim