Skip to content

Commit 2c621cb

Browse files
committed
Explicitly apply font settings on mount
Fixes codesandbox#1099
1 parent d477181 commit 2c621cb

File tree

1 file changed

+2
-0
lines changed
  • packages/app/src/app/components/CodeEditor/Monaco

1 file changed

+2
-0
lines changed

packages/app/src/app/components/CodeEditor/Monaco/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ class MonacoEditor extends React.Component<Props, State> implements Editor {
184184
this.editor = editor;
185185
this.monaco = monaco;
186186

187+
this.editor.updateOptions(this.getEditorOptions());
188+
187189
// eslint-disable-next-line no-underscore-dangle
188190
window.CSEditor = {
189191
editor: this.editor,

0 commit comments

Comments
 (0)