From c7dd040ed32e06ff0e7332cf2a79fdb75356dcb1 Mon Sep 17 00:00:00 2001 From: Wes Cossick Date: Mon, 20 Jul 2015 22:19:39 -0500 Subject: [PATCH] More reliable tabbing, fixes bug in Firefox Closes issue #30 --- source files/simplemde.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source files/simplemde.js b/source files/simplemde.js index 1618dd4..c51b9fe 100644 --- a/source files/simplemde.js +++ b/source files/simplemde.js @@ -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,