From c29b9ab531e2e7af0fb5db24dc17e51027dd1174 Mon Sep 17 00:00:00 2001 From: Richard Mahn Date: Sun, 31 Jul 2016 08:03:33 -0600 Subject: [PATCH] Made tabbing in editor use spaces --- public/js/gogs.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/public/js/gogs.js b/public/js/gogs.js index b5065703d..ef1ac6674 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -589,8 +589,9 @@ function initWikiForm() { renderingConfig: { singleLineBreaks: false }, - spellChecker: false, + indentWithTabs: false, tabSize: 4, + spellChecker: false, toolbar: ["bold", "italic", "strikethrough", "|", "heading-1", "heading-2", "heading-3", "heading-bigger", "heading-smaller", "|", "code", "quote", "|", @@ -630,8 +631,9 @@ function initIssueForm() { renderingConfig: { singleLineBreaks: false }, - spellChecker: false, + indentWithTabs: false, tabSize: 4, + spellChecker: false, toolbar: ["bold", "italic", "strikethrough", "|", "code", "quote", "|", "unordered-list", "ordered-list", "|", @@ -798,6 +800,7 @@ function setSimpleMDE() { renderingConfig: { singleLineBreaks: false }, + indentWithTabs: false, tabSize: 4, spellChecker: false, previewRender: function (plainText, preview) { // Async method