CODEBASE: Create monaco editor instance with null model (#2563)

This commit is contained in:
catloversg
2026-03-13 07:19:14 +07:00
committed by GitHub
parent 9eb2863e48
commit b737bb63e6

View File

@@ -51,7 +51,7 @@ export function Editor({ onMount, onChange, onUnmount }: EditorProps) {
// Initialize monaco editor
editorRef.current = monaco.editor.create(containerDiv.current, {
value: "",
model: null,
automaticLayout: true,
language: "javascript",
...options,