fix: prompt editor variable picker (#3177)

This commit is contained in:
zxhlyh
2024-04-08 23:53:09 +08:00
committed by GitHub
parent 1382f10433
commit b7691f5658

View File

@@ -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()