Skip to content

Commit d45ff5c

Browse files
author
Ives van Hoorne
committed
Disable font family editing for now
1 parent d032a33 commit d45ff5c

File tree

1 file changed

+7
-5
lines changed
  • src/app/components/sandbox/CodeEditor

1 file changed

+7
-5
lines changed

src/app/components/sandbox/CodeEditor/Monaco.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -685,11 +685,13 @@ export default class CodeEditor extends React.PureComponent {
685685
return {
686686
selectOnLineNumbers: true,
687687
fontSize: preferences.fontSize,
688-
fontFamily: fontFamilies(
689-
preferences.fontFamily,
690-
'Source Code Pro',
691-
'monospace',
692-
),
688+
// Disable this because of a current issue in Windows:
689+
// https://github.com/Microsoft/monaco-editor/issues/392
690+
// fontFamily: fontFamilies(
691+
// preferences.fontFamily,
692+
// 'Source Code Pro',
693+
// 'monospace',
694+
// ),
693695
minimap: {
694696
enabled: false,
695697
},

0 commit comments

Comments
 (0)