mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Improve monaco-html scripts
This commit is contained in:
parent
1b00da60ec
commit
c419101f73
11 changed files with 53 additions and 1055 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
|
||||
|
||||
monaco.editor.create(document.getElementById('container'), {
|
||||
value: 'sel {\nbackground: red;\n}',
|
||||
language: 'css'
|
||||
value: '',
|
||||
language: 'html'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue