fix: prompt editor insert context (#21526)

This commit is contained in:
zxhlyh 2025-06-26 09:58:58 +08:00 committed by GitHub
parent 1610f62a28
commit 45dc0a43d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,6 +32,10 @@ export const PromptMenuItem = memo(({
return
onMouseEnter()
}}
onMouseDown={(e) => {
e.preventDefault()
e.stopPropagation()
}}
onClick={() => {
if (disabled)
return