Browse Source

fix: workflow note editor placeholder (#14380)

tags/1.0.0
zxhlyh 8 months ago
parent
commit
1aaab741a0
No account linked to committer's email address

+ 1
- 1
web/app/components/workflow/note-node/index.tsx View File

)}></div> )}></div>
{ {
data.selected && ( 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 <NoteEditorToolbar
theme={theme} theme={theme}
onThemeChange={handleThemeChange} onThemeChange={handleThemeChange}

+ 0
- 1
web/app/components/workflow/note-node/note-editor/editor.tsx View File

onBlur={() => setShortcutsEnabled(true)} onBlur={() => setShortcutsEnabled(true)}
spellCheck={false} spellCheck={false}
className='w-full h-full outline-none text-text-secondary caret-primary-600' className='w-full h-full outline-none text-text-secondary caret-primary-600'
placeholder={placeholder}
/> />
</div> </div>
} }

Loading…
Cancel
Save