mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2024-06-29 02:40:16 +02:00
parent
c8b908fd0e
commit
c7dd040ed3
|
@ -534,6 +534,7 @@ SimpleMDE.prototype.render = function(el) {
|
||||||
mode: 'gfm',
|
mode: 'gfm',
|
||||||
theme: 'paper',
|
theme: 'paper',
|
||||||
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
|
tabSize: (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,
|
||||||
lineNumbers: false,
|
lineNumbers: false,
|
||||||
autofocus: (options.autofocus === true) ? true : false,
|
autofocus: (options.autofocus === true) ? true : false,
|
||||||
|
|
Loading…
Reference in a new issue