We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 185b076 commit f9ec13cCopy full SHA for f9ec13c
src/js/views/components/MonacoEditor.js
@@ -68,6 +68,8 @@ class MonacoEditor extends React.Component{
68
componentDidUpdate(){
69
let selectedLanguage = this.props.selectedLanguage.latinName.toLowerCase();
70
monaco.editor.setModelLanguage(this._editor.getModel(), selectedLanguage)
71
+
72
+ mainEditor.layout();
73
}
74
75
initSocketEvents(){
0 commit comments