mirror of
https://github.com/chinchang/web-maker.git
synced 2025-05-23 18:53:02 +02:00
fix wrong indentation size issue. fixes #104
This commit is contained in:
parent
f4bb00b223
commit
f13b3efbaf
@ -1205,8 +1205,8 @@ onboardDontShowInTabOptionBtn, TextareaAutoComplete, savedItemCountEl, indentati
|
||||
);
|
||||
|
||||
scope.cm[type].setOption('blastCode', $('[data-setting=isCodeBlastOn]').checked ? { effect: 2, shake: false } : false);
|
||||
scope.cm[type].setOption('indentUnit', $('[data-setting=indentSize]').value);
|
||||
scope.cm[type].setOption('tabSize', $('[data-setting=indentSize]').value);
|
||||
scope.cm[type].setOption('indentUnit', +$('[data-setting=indentSize]').value);
|
||||
scope.cm[type].setOption('tabSize', +$('[data-setting=indentSize]').value);
|
||||
scope.cm[type].setOption('theme', $('[data-setting=editorTheme]').value);
|
||||
// Replace correct css file in LINK tags's href
|
||||
editorThemeLinkTag.href = '/lib/codemirror/theme/' + prefs.editorTheme + '.css';
|
||||
|
Loading…
x
Reference in New Issue
Block a user