mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 02:08:37 +08:00
fix: prompt editor variable picker (#3177)
This commit is contained in:
parent
1382f10433
commit
b7691f5658
@ -40,7 +40,7 @@ const OnBlurBlock: FC<OnBlurBlockProps> = ({
|
||||
() => {
|
||||
ref.current = setTimeout(() => {
|
||||
editor.dispatchCommand(KEY_ESCAPE_COMMAND, new KeyboardEvent('keydown', { key: 'Escape' }))
|
||||
}, 100)
|
||||
}, 200)
|
||||
|
||||
if (onBlur)
|
||||
onBlur()
|
||||
|
Loading…
Reference in New Issue
Block a user