fix: prompt editor insert context (#21526)
This commit is contained in:
parent
1610f62a28
commit
45dc0a43d3
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ export const PromptMenuItem = memo(({
|
||||||
return
|
return
|
||||||
onMouseEnter()
|
onMouseEnter()
|
||||||
}}
|
}}
|
||||||
|
onMouseDown={(e) => {
|
||||||
|
e.preventDefault()
|
||||||
|
e.stopPropagation()
|
||||||
|
}}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (disabled)
|
if (disabled)
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue