|
|
@ -856,6 +856,7 @@ SimpleMDE.prototype.render = function(el) {
|
|
|
|
this.codemirror = CodeMirror.fromTextArea(el, {
|
|
|
|
this.codemirror = CodeMirror.fromTextArea(el, {
|
|
|
|
mode: mode,
|
|
|
|
mode: mode,
|
|
|
|
backdrop: backdrop,
|
|
|
|
backdrop: backdrop,
|
|
|
|
|
|
|
|
theme: "paper",
|
|
|
|
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
|
|
|
|
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
|
|
|
|
indentUnit: (options.tabSize != undefined) ? options.tabSize : 2,
|
|
|
|
indentUnit: (options.tabSize != undefined) ? options.tabSize : 2,
|
|
|
|
indentWithTabs: (options.indentWithTabs === false) ? false : true,
|
|
|
|
indentWithTabs: (options.indentWithTabs === false) ? false : true,
|
|
|
|