use options instead of editorOptions
ssevenk opened this issue · 2 comments
ssevenk commented
In your README.md, we should use this component as
<MonacoEditor
height="600"
language="typescript"
:code="code"
:editorOptions="options"
@mounted="onMounted"
@codeChange="onCodeChange"
>
</MonacoEditor>
However, the props "editorOptions" doesn't work.
Then I read your source code and find what we should use is "options" rather than "editorOptions", like this:
<MonacoEditor
height="600"
language="typescript"
:code="code"
:options="options"
@mounted="onMounted"
@codeChange="onCodeChange"
>
</MonacoEditor>
Hope you fix this error in README.md, thanks!
XiayidanAlimu commented
I find this error too ~
pengfu commented
I find this error three ~