fix: prompt editor insert context (#21526)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user