fix: prompt editor click to insert variable (#21470)
This commit is contained in:
parent
449e16782e
commit
819c02f1f5
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,10 @@ export const VariableMenuItem = memo(({
|
|||
tabIndex={-1}
|
||||
ref={setRefElement}
|
||||
onMouseEnter={onMouseEnter}
|
||||
onMouseDown={(e) => {
|
||||
e.preventDefault()
|
||||
e.stopPropagation()
|
||||
}}
|
||||
onClick={onClick}>
|
||||
<div className='mr-2'>
|
||||
{icon}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue