Releases: esm-dev/modern-monaco
Releases Β· esm-dev/modern-monaco
v0.3.7
- Add support for multiple themes (#53 by @curtis-allan)
import { init } from "modern-monaco"; const monaco = await init({ themes: [ "one-light", "one-dark-pro", ], }); monaco.editor.create(document.getElementById("editor"), { theme: "one-light", }) // update the editor theme monaco.editor.setTheme("one-dark-pro");
- Deprecate
themeoption in favor ofdefaultThemeandthemes(#53 by @curtis-allan) - Update
shikito 3.21.0 - Update
tm-grammarsto 1.28.0 - Update
tm-themesto 1.10.15 - Update
vscode-css-languageserviceto 6.3.9 - Update
vscode-html-languageserviceto 5.6.1 - Update
vscode-json-languageserviceto 5.7.1
v0.3.6
- Update
sideEffects: ["dist/index.mjs"]in package.json (#48 by @dimaMachina) - Update import statements to use
webpackIgnoreannotation (#47 by @dimaMachina)
v0.3.5
- Add
dataProvidersoption toLSPConfig.css - Add
hideEndTagSuggestionsoption toLSPConfig.html - Update options of
LSPConfig.jsonexport interface JSONLanguageConfig { /** By default, the validator will return syntax and semantic errors. Set to false to disable the validator. */ validate?: boolean; /** Defines whether comments are allowed or not. Default is disallowed. */ allowComments?: boolean; /** A list of known schemas and/or associations of schemas to file names. */ schemas?: JSONSchemaSource[]; /** The severity of reported comments. Default is "error". */ comments?: SeverityLevel; /** The severity of reported trailing commas. Default is "error". */ trailingCommas?: SeverityLevel; /** The severity of problems from schema validation. Default is "warning". */ schemaValidation?: SeverityLevel; /** The severity of problems that occurred when resolving and loading schemas. Default is "warning". */ schemaRequest?: SeverityLevel; }