Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: workflow note editor placeholder (#14380)

zxhlyh1aaab741a065
diff --git a/web/app/components/workflow/note-node/index.tsx b/web/app/components/workflow/note-node/index.tsx
index e1691bd08c0..20ecaca99aa 100644
--- a/web/app/components/workflow/note-node/index.tsx
+++ b/web/app/components/workflow/note-node/index.tsx
@@ -90,7 +90,7 @@ const NoteNode = ({
)}></div>
{
data.selected && (
- <div className='absolute -top-[41px] left-1/2 -translate-x-1/2'>
+ <div className='absolute top-[-41px] left-1/2 -translate-x-1/2'>
<NoteEditorToolbar
theme={theme}
onThemeChange={handleThemeChange}
diff --git a/web/app/components/workflow/note-node/note-editor/editor.tsx b/web/app/components/workflow/note-node/note-editor/editor.tsx
index 2ab133557eb..ba8a612d2e8 100644
--- a/web/app/components/workflow/note-node/note-editor/editor.tsx
+++ b/web/app/components/workflow/note-node/note-editor/editor.tsx
@@ -45,7 +45,6 @@ const Editor = ({
onBlur={() => setShortcutsEnabled(true)}
spellCheck={false}
className='w-full h-full outline-none text-text-secondary caret-primary-600'
- placeholder={placeholder}
/>
</div>
}