FE-Mars/monaco-editor-vue

[DiffEditor] Uncaught Error: editor.getValue is not a function

Closed this issue · 1 comments

Found a same issue with the react-monaco-editor, the getValue() method should be replaced with editor.getModel().modified.getValue() when diffEditor is set true.

See: react-monaco-editor/react-monaco-editor#120

I fixed this problem