More reliable tabbing, fixes bug in Firefox

Closes issue #30
This commit is contained in:
Wes Cossick 2015-07-20 22:19:39 -05:00
parent c8b908fd0e
commit c7dd040ed3

View file

@ -534,6 +534,7 @@ SimpleMDE.prototype.render = function(el) {
mode: 'gfm',
theme: 'paper',
tabSize: (options.tabSize != undefined) ? options.tabSize : 2,
indentUnit: (options.tabSize != undefined) ? options.tabSize : 2,
indentWithTabs: (options.indentWithTabs === false) ? false : true,
lineNumbers: false,
autofocus: (options.autofocus === true) ? true : false,