Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: The PromptEditor's placeholder is only half displayed. (#14161)

balibabu4a9bfd18bc80
diff --git a/web/src/pages/agent/form/components/prompt-editor/index.tsx b/web/src/pages/agent/form/components/prompt-editor/index.tsx
index 13b8d00c1b..3ad562a725 100644
--- a/web/src/pages/agent/form/components/prompt-editor/index.tsx
+++ b/web/src/pages/agent/form/components/prompt-editor/index.tsx
@@ -237,7 +237,7 @@ export const PromptEditor = forwardRef(function PromptEditor(
placeholder={
<div
className={cn(
- '-z-10 absolute top-1 left-2 text-text-disabled pointer-events-none',
+ '-z-10 absolute top-4 left-2 text-text-disabled pointer-events-none',
{
'truncate max-w-[calc(100%-4rem)]': !multiLine,
'translate-y-9': multiLine,