You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/07/22 14:31:37 UTC

[41/42] allura git commit: [#7897] ticket:823 Insert 4 spaces instead of a tab

[#7897] ticket:823 Insert 4 spaces instead of a tab


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/17870685
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/17870685
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/17870685

Branch: refs/heads/ib/7897
Commit: 1787068580bd1ac552da08a971c262a39f154a7a
Parents: a17f7c1
Author: Igor Bondarenko <je...@gmail.com>
Authored: Fri Jul 17 16:54:48 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Wed Jul 22 10:59:53 2015 +0300

----------------------------------------------------------------------
 Allura/allura/lib/widgets/resources/js/sf_markitup.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/17870685/Allura/allura/lib/widgets/resources/js/sf_markitup.js
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/js/sf_markitup.js b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
index 47cc6a7..6570d6a 100644
--- a/Allura/allura/lib/widgets/resources/js/sf_markitup.js
+++ b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
@@ -50,6 +50,8 @@ $(window).load(function() {
             var editor = new SimpleMDE({
               element: $textarea[0],
               autofocus: false,
+              indentWithTabs: false,
+              tabSize: 4,
               toolbar: toolbar
             });
             editor.render();