fix: prompt editor variable picker (#3177)
This commit is contained in:
parent
1382f10433
commit
b7691f5658
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ const OnBlurBlock: FC<OnBlurBlockProps> = ({
|
||||||
() => {
|
() => {
|
||||||
ref.current = setTimeout(() => {
|
ref.current = setTimeout(() => {
|
||||||
editor.dispatchCommand(KEY_ESCAPE_COMMAND, new KeyboardEvent('keydown', { key: 'Escape' }))
|
editor.dispatchCommand(KEY_ESCAPE_COMMAND, new KeyboardEvent('keydown', { key: 'Escape' }))
|
||||||
}, 100)
|
}, 200)
|
||||||
|
|
||||||
if (onBlur)
|
if (onBlur)
|
||||||
onBlur()
|
onBlur()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue