Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
f368e5ac
Commit
f368e5ac
authored
Sep 05, 2023
by
comfyanonymous
Browse files
Don't paste nodes when target is a textarea or a text box.
parent
2d9d3ca3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
web/scripts/app.js
web/scripts/app.js
+5
-1
No files found.
web/scripts/app.js
View file @
f368e5ac
...
...
@@ -717,6 +717,10 @@ export class ComfyApp {
this
.
loadGraphData
(
workflow
);
}
else
{
if
(
e
.
target
.
type
===
"
text
"
||
e
.
target
.
type
===
"
textarea
"
)
{
return
;
}
// Litegraph default paste
this
.
canvas
.
pasteFromClipboard
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment