From 1d1604417cb6f76fe728c49961cb9ddd025262ee Mon Sep 17 00:00:00 2001 From: zhujiruo Date: Tue, 17 Jun 2025 17:10:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(code-editor):=20optimize=20the=20loading=20?= =?UTF-8?q?style=20of=20the=20`CodeEditor`=20component=20in=20dark=20mode?= =?UTF-8?q?=20=EF=BC=88#21116=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflow/nodes/_base/components/editor/code-editor/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx b/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx index 1e195c5d40..3540c60a39 100644 --- a/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx +++ b/web/app/components/workflow/nodes/_base/components/editor/code-editor/index.tsx @@ -140,6 +140,7 @@ const CodeEditor: FC = ({ language={languageMap[language] || 'javascript'} theme={isMounted ? theme : 'default-theme'} // sometimes not load the default theme value={outPutValue} + loading={Loading...} onChange={handleEditorChange} // https://microsoft.github.io/monaco-editor/typedoc/interfaces/editor.IEditorOptions.html options={{