Improve monaco-html scripts

This commit is contained in:
Alex Dima 2021-11-11 22:35:29 +01:00
parent 1b00da60ec
commit c419101f73
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
11 changed files with 53 additions and 1055 deletions

View file

@ -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'
});