fix: workflow note editor placeholder (#14380)

This commit is contained in:
zxhlyh 2025-02-26 13:55:25 +08:00 committed by GitHub
parent bafa46393c
commit 1aaab741a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -90,7 +90,7 @@ const NoteNode = ({
)}></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}

View File

@ -45,7 +45,6 @@ const Editor = ({
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>
} }