File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -112,16 +112,15 @@ async function loadMonacoFromEsmCdn(): Promise<Monaco> {
112112 const urlList = [
113113 {
114114 script : "https://cdn.jsdelivr.net/npm/monaco-editor/+esm" ,
115- style : "https://cdn.jsdelivr.net/npm/monaco-editor/min/vs/style.min.css" ,
115+ style :
116+ "https://cdn.jsdelivr.net/npm/monaco-editor/min/vs/editor/editor.main.css" ,
116117 } ,
117118 ] ;
118119
119120 if ( typeof monacoVersion !== "undefined" ) {
120121 urlList . unshift ( {
121122 script : `https://cdn.jsdelivr.net/npm/monaco-editor@${ monacoVersion } /+esm` ,
122- style : `https://cdn.jsdelivr.net/npm/monaco-editor@${
123- monacoVersion
124- } /min/vs/style.min.css`,
123+ style : `https://cdn.jsdelivr.net/npm/monaco-editor@${ monacoVersion } /min/vs/editor/editor.main.css` ,
125124 } ) ;
126125 }
127126 for ( const url of urlList ) {
You can’t perform that action at this time.
0 commit comments