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.
2 parents 51d18ac + 5954ff9 commit 393241fCopy full SHA for 393241f
app/components/MonacoEditor/state.js
@@ -70,6 +70,9 @@ class EditorInfo {
70
monaco.editor.getModel(monaco.Uri.parse(this.uri).toString()) ||
71
monaco.editor.createModel(this.content || '', this.languageMode, monaco.Uri.parse(this.uri))
72
this.uri = model.uri._formatted
73
+
74
+ this.model = model
75
76
const monacoEditor = monaco.editor.create(
77
this.monacoElement,
78
{
0 commit comments