mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Adopt latest editor in samples
This commit is contained in:
parent
6328b62e22
commit
6ce435ec23
17 changed files with 2859 additions and 2643 deletions
|
|
@ -136,7 +136,7 @@ require(["vs/editor/editor.main"], function () {
|
|||
var currentTheme = "vs";
|
||||
select.onchange = function () {
|
||||
currentTheme = select.options[select.selectedIndex].value;
|
||||
sampleEditor.updateOptions({ theme: currentTheme });
|
||||
monaco.editor.setTheme(currentTheme);
|
||||
};
|
||||
|
||||
// on resize
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue