Don't paste nodes when target is a textarea or a text box.

main
comfyanonymous 1 year ago
parent 2d9d3ca38b
commit f368e5ac7d

@ -717,8 +717,12 @@ export class ComfyApp {
this.loadGraphData(workflow);
}
else {
if (e.target.type === "text" || e.target.type === "textarea") {
return;
}
// Litegraph default paste
this.canvas.pasteFromClipboard();
this.canvas.pasteFromClipboard();
}

Loading…
Cancel
Save