From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/workflow/nodes/_base/components/editor/text-editor.tsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/workflow/nodes/_base/components/editor/text-editor.tsx b/app/components/workflow/nodes/_base/components/editor/text-editor.tsx index 252f69c..eaffcac 100644 --- a/app/components/workflow/nodes/_base/components/editor/text-editor.tsx +++ b/app/components/workflow/nodes/_base/components/editor/text-editor.tsx @@ -7,8 +7,8 @@ type Props = { value: string onChange: (value: string) => void - title: React.JSX.Element | string - headerRight?: React.JSX.Element + title: JSX.Element | string + headerRight?: JSX.Element minHeight?: number onBlur?: () => void placeholder?: string @@ -52,7 +52,7 @@ onChange={e => onChange(e.target.value)} onFocus={setIsFocus} onBlur={handleBlur} - className='h-full w-full resize-none border-none bg-transparent px-3 text-[13px] font-normal leading-[18px] text-gray-900 placeholder:text-gray-300 focus:outline-none' + className='w-full h-full px-3 resize-none bg-transparent border-none focus:outline-none leading-[18px] text-[13px] font-normal text-gray-900 placeholder:text-gray-300' placeholder={placeholder} readOnly={readonly} /> -- Gitblit v1.8.0