From 561461300eacc692c54e7e5adf3439d6fd41d0f4 Mon Sep 17 00:00:00 2001 From: smallstonesk <575913857@qq.com> Date: Wed, 26 Aug 2020 19:00:06 +0800 Subject: [PATCH] feat: optimize editor initial config --- packages/core/src/mods/settingBar/components/code/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/mods/settingBar/components/code/index.tsx b/packages/core/src/mods/settingBar/components/code/index.tsx index b62d20b..2592502 100644 --- a/packages/core/src/mods/settingBar/components/code/index.tsx +++ b/packages/core/src/mods/settingBar/components/code/index.tsx @@ -66,9 +66,10 @@ interface IEditorModalProps { const CODE_EDITOR_STYLE = { width: '100%', - height: 400 + height: 600 }; const CODE_EDITOR_OPTIONS = { + fontSize: 14, useWorker: false };