Closed this issue 5 years ago · 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