Commit 804ec551 authored by Jérome Perrin's avatar Jérome Perrin

monaco_editor: remove buggy autoIndent: true

true is not an allowed value, causing a visible problem tabSize to be
ignored on empty documents and using 4 for python.
parent 8c0070e4
Pipeline #36616 failed with stage
in 0 seconds
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
context.editor = editor = monaco.editor.create( context.editor = editor = monaco.editor.create(
this.element.querySelector('.monaco-container'), this.element.querySelector('.monaco-container'),
{ {
autoIndent: true,
automaticLayout: window.ResizeObserver ? true : false, automaticLayout: window.ResizeObserver ? true : false,
stickyScroll: { stickyScroll: {
enabled: true, enabled: true,
......
...@@ -122,7 +122,6 @@ $script.onload = function() { ...@@ -122,7 +122,6 @@ $script.onload = function() {
{ {
value: $textarea.value, value: $textarea.value,
language: mode, language: mode,
autoIndent: true,
experimental: { experimental: {
stickyScroll: { stickyScroll: {
enabled: true, enabled: true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment