diff --git a/ui/src/components/inputs/Editor.vue b/ui/src/components/inputs/Editor.vue index d16d6cc50de..3fcd8192f38 100644 --- a/ui/src/components/inputs/Editor.vue +++ b/ui/src/components/inputs/Editor.vue @@ -20,7 +20,7 @@ - + @@ -185,8 +185,8 @@ return { ...{ tabSize: 2, - fontFamily: "'Source Code Pro', monospace", - fontSize: 12, + fontFamily: localStorage.getItem("editorFontFamily") ? localStorage.getItem("editorFontFamily") : "'Source Code Pro', monospace", + fontSize: localStorage.getItem("editorFontSize") ? parseInt(localStorage.getItem("editorFontSize")) : 12, showFoldingControls: "always", scrollBeyondLastLine: false, roundedSelection: false, diff --git a/ui/src/components/inputs/MonacoEditor.vue b/ui/src/components/inputs/MonacoEditor.vue index f995cf5c073..33f5f9820a6 100644 --- a/ui/src/components/inputs/MonacoEditor.vue +++ b/ui/src/components/inputs/MonacoEditor.vue @@ -12,7 +12,7 @@ import * as monaco from "monaco-editor/esm/vs/editor/editor.api"; import EditorWorker from "monaco-editor/esm/vs/editor/editor.worker?worker"; import YamlWorker from "./yaml.worker.js?worker"; - import JsonWorker from 'monaco-editor/esm/vs/language/json/json.worker?worker'; + import JsonWorker from "monaco-editor/esm/vs/language/json/json.worker?worker"; import {setDiagnosticsOptions} from "monaco-yaml"; import {yamlSchemas} from "override/utils/yamlSchemas" import Utils from "../../utils/utils"; diff --git a/ui/src/components/settings/Settings.vue b/ui/src/components/settings/Settings.vue index 412afa8ebfa..132ba2415e9 100644 --- a/ui/src/components/settings/Settings.vue +++ b/ui/src/components/settings/Settings.vue @@ -1,6 +1,6 @@