Fix syntax error and disable minimap

This commit is contained in:
Jan Oberhauser 2021-12-20 23:51:04 +01:00
parent 291c5154c6
commit c62225c866

View file

@ -53,12 +53,15 @@ export default mixins(genericHelpers).extend({
language: 'javascript',
tabSize: 2,
readOnly: this.isReadOnly,
minimap: {
enabled: false,
},
});
monaco.editor.defineTheme('myTheme', {
base: 'vs',
inherit: true,
rules: [{ background: 'f5f2f0' }],
rules: [],
colors: {
'editor.background': '#f5f2f0',
},