mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: editor: use selected font family
This commit is contained in:
1 parent
9e19eb2614
commit
48d79496d4
3 files changed
+3
-1
No files matched your search
@@ -32,6 +32,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(class MonacoEditor e
|
||||
const config = {
|
||||
theme: 'vs-light',
|
||||
...customOptions,
|
||||
fontFamily: UserContext.codeFontFamily,
|
||||
lineNumbers: true,
|
||||
glyphMargin: true,
|
||||
lightbulb: { enabled: true },
|
||||
|
||||
Reference in new issue
Block a user