From db5c23bfe5b4da4c0a358f9aebab1888c530bcf6 Mon Sep 17 00:00:00 2001 From: mamaremere Date: Wed, 29 Jun 2022 15:15:42 +0300 Subject: [PATCH] Update two links to Monaco API docs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 770890a..851ad39 100644 --- a/README.md +++ b/README.md @@ -60,9 +60,9 @@ export default { ### Props - `modelValue` - code -- `language` - programming language that code will be in. [List of supported languages](https://github.com/Microsoft/monaco-languages) +- `language` - programming language that code will be in. [List of supported languages](https://github.com/Microsoft/monaco-languages) - `theme` - visual theme for editor -- `options` - [monaco editor additional options](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.ieditorconstructionoptions.html) +- `options` - [monaco editor additional options](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IEditorConstructionOptions.html) - `url` - custom CDN url. Default is "https://unpkg.com/browse/monaco-editor@latest/min". Note, that URL must point to a folder, under which path "/vs/base/worker/workerMain.js" must exist. ### Methods @@ -76,7 +76,7 @@ Use `ref` to interact with the `MonacoEditor` component in order to access metho - `editorDidMount` - fired after monaco editor was mounted. Recieves monaco instance (`IStandaloneCodeEditor`) as parameter. Use this event to customize monaco instance (for example, add new code formatters) - `update:modelValue` - fired whenever user changes editor content -For other events, please use `getMonaco()` and subscribe to them directly. See [IStandaloneCodeEditor reference](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.istandalonecodeeditor.html) for full events list. +For other events, please use `getMonaco()` and subscribe to them directly. See [IStandaloneCodeEditor reference](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IStandaloneCodeEditor.html) for full events list. ## Author