mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 02:51:20 -08:00
Update common.js
This commit is contained in:
1 parent
9e2c725dd1
commit
3b138f126b
1 file changed
+1
@@ -38,6 +38,7 @@
|
|||||||
|
|
||||||
editor = monaco.editor.create($codeMirror, {
|
editor = monaco.editor.create($codeMirror, {
|
||||||
theme: 'vs-dark',
|
theme: 'vs-dark',
|
||||||
|
automaticLayout: true,
|
||||||
model: monaco.editor.createModel(
|
model: monaco.editor.createModel(
|
||||||
['function x() {', '\tconsole.log("Hello world!");', '}'].join('\n'),
|
['function x() {', '\tconsole.log("Hello world!");', '}'].join('\n'),
|
||||||
'javascript',
|
'javascript',
|
||||||
|
|||||||
Reference in new issue
Block a user