This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dify
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
152
Wiki
Activity
Browse Source
fix: prompt editor insert context (
#21526
)
tags/1.5.1
zxhlyh
4 months ago
parent
1610f62a28
commit
45dc0a43d3
No account linked to committer's email address
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
web/app/components/base/prompt-editor/plugins/component-picker-block/prompt-option.tsx
+ 4
- 0
web/app/components/base/prompt-editor/plugins/component-picker-block/prompt-option.tsx
View File
@@ -32,6 +32,10 @@ export const PromptMenuItem = memo(({
return
onMouseEnter()
}}
onMouseDown={(e) => {
e.preventDefault()
e.stopPropagation()
}}
onClick={() => {
if (disabled)
return
Write
Preview
Loading…
Cancel
Save