Browse Source

CodeMirror force use tabs in all templates

Vova Tkach 5 years ago
parent
commit
145f764857
2 changed files with 3 additions and 0 deletions
  1. 3 0
      engine/assets/cp.scripts.js
  2. 0 0
      engine/assets/cp.scripts.js.go

+ 3 - 0
engine/assets/cp.scripts.js

@@ -7275,6 +7275,9 @@
 					lineNumbers: true,
 					lineNumbers: true,
 					lineWrapping: true,
 					lineWrapping: true,
 					viewportMargin: Infinity,
 					viewportMargin: Infinity,
+					indentWithTabs: true,
+					indentUnit: 4,
+					tabSize: 4,
 					mode: targetEditorMode,
 					mode: targetEditorMode,
 				}).on('change', function(editor){
 				}).on('change', function(editor){
 					targetTextArea.value = editor.getValue();
 					targetTextArea.value = editor.getValue();

File diff suppressed because it is too large
+ 0 - 0
engine/assets/cp.scripts.js.go


Some files were not shown because too many files changed in this diff