David Catuhe 7 лет назад
Родитель
Сommit
ec7d5f911f
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Playground/js/index.js

+ 1 - 0
Playground/js/index.js

@@ -701,6 +701,7 @@
 
             var oldCode = jsEditor.getValue();
             jsEditor.dispose();
+            editorOptions.theme = vsTheme;
             jsEditor = monaco.editor.create(document.getElementById('jsEditor'), editorOptions);
             jsEditor.setValue(oldCode);
             setFontSize(fontSize);