mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-09 16:06:21 +02:00
fix wrong indentation size issue. fixes #104
This commit is contained in:
@ -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('blastCode', $('[data-setting=isCodeBlastOn]').checked ? { effect: 2, shake: false } : false);
|
||||||
scope.cm[type].setOption('indentUnit', $('[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('tabSize', +$('[data-setting=indentSize]').value);
|
||||||
scope.cm[type].setOption('theme', $('[data-setting=editorTheme]').value);
|
scope.cm[type].setOption('theme', $('[data-setting=editorTheme]').value);
|
||||||
// Replace correct css file in LINK tags's href
|
// Replace correct css file in LINK tags's href
|
||||||
editorThemeLinkTag.href = '/lib/codemirror/theme/' + prefs.editorTheme + '.css';
|
editorThemeLinkTag.href = '/lib/codemirror/theme/' + prefs.editorTheme + '.css';
|
||||||
|
Reference in New Issue
Block a user