Style Editor: Indent with 2 spaces

Closes #4269
This commit is contained in:
Abe Jellinek 2024-06-24 11:14:39 -04:00
parent 38b0b3a69a
commit 0861710245

View file

@ -67,7 +67,9 @@ var Zotero_CSL_Editor = new function () {
let editorWin = document.getElementById("zotero-csl-editor-iframe").contentWindow;
let { monaco: _monaco, editor: _editor } = await editorWin.loadMonaco({
language: 'xml',
theme: isDarkMQL.matches ? 'vs-dark' : 'vs-light'
theme: isDarkMQL.matches ? 'vs-dark' : 'vs-light',
insertSpaces: true,
tabSize: 2,
});
monaco = _monaco;
editor = _editor;