Skip to content

Commit 2ba6e93

Browse files
author
Loïc Mangeonjean
committed
fix: do not create empty model at editor creation
1 parent 41df958 commit 2ba6e93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MonacoEditor.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ function MonacoEditor ({
169169
value: undefined,
170170
language: undefined,
171171
theme: undefined,
172+
model: null,
172173
autoDetectHighContrast: undefined,
173174
accessibilityHelpUrl: undefined,
174175
ariaContainerElement: undefined,

0 commit comments

Comments
 (0)