diff --git a/README.md b/README.md index 205f825..17578fd 100644 --- a/README.md +++ b/README.md @@ -611,7 +611,7 @@ It's important to mention that according to [monaco-editor](https://microsoft.gi As a usual `React` component, this one also works fine with an electron-react environment, without need to have a `webpack` configuration or other extra things. But there are several cases that developers usually face to and sometimes it can be confusing. Here they are: 1) **You see loading screen stuck** -Usually, it's because your environment doesn't allow you to load external sources. By default, it loads `monaco` sources from `CDN`. You can see the [default configuration](https://github.com/suren-atoyan/monaco-loader/blob/master/src/config/index.js). But sure you can change that behavior; the library is fully configurable. Read about it [here](https://github.com/suren-atoyan/monaco-react#config). So, if you want to download it from your local files, you can do it like this: +Usually, it's because your environment doesn't allow you to load external sources. By default, it loads `monaco` sources from `CDN`. You can see the [default configuration](https://github.com/suren-atoyan/monaco-loader/blob/master/src/config/index.js). But sure you can change that behavior; the library is fully configurable. Read about it [here](https://github.com/suren-atoyan/monaco-react#loader-config). So, if you want to download it from your local files, you can do it like this: ```javascript import { loader } from "@monaco-editor/react"; @@ -739,8 +739,8 @@ If you want to change something in the library, go to `monaco-react/src/...`, th | theme | enum: "light" \| "vs-dark" | "light" | The theme for the monaco. Available options "vs-dark" \| "light". Define new themes by `monaco.editor.defineTheme` | | line | number | | The line to jump on it | | loading | React Node | "Loading..." | The loading screen before the editor will be mounted -| options | object | {} | [IStandaloneEditorConstructionOptions](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.istandaloneeditorconstructionoptions.html) | -| overrideServices | object | {} | [IEditorOverrideServices ](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.ieditoroverrideservices.html) | +| options | object | {} | [IStandaloneEditorConstructionOptions](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IStandaloneEditorConstructionOptions.html) | +| overrideServices | object | {} | [IEditorOverrideServices ](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IEditorOverrideServices.html) | | saveViewState | boolean | true | Indicator whether to save the models' view states between model changes or not | | keepCurrentModel | boolean | false | Indicator whether to dispose the current model when the Editor is unmounted or not | | width | union: number \| string | "100%" | Width of the editor wrapper |