From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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