mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +00:00
default text property incase we need one.
This commit is contained in:
parent
9587ea90c8
commit
fb61c75e39
@ -12,9 +12,10 @@ app.registerExtension({
|
|||||||
constructor() {
|
constructor() {
|
||||||
if (!this.properties) {
|
if (!this.properties) {
|
||||||
this.properties = {};
|
this.properties = {};
|
||||||
|
this.properties.text="";
|
||||||
}
|
}
|
||||||
|
|
||||||
ComfyWidgets.STRING(this, "", ["", {multiline: true}], app)
|
ComfyWidgets.STRING(this, "", ["", {default:this.properties.text, multiline: true}], app)
|
||||||
// This node is purely frontend and does not impact the resulting prompt so should not be serialized
|
// This node is purely frontend and does not impact the resulting prompt so should not be serialized
|
||||||
this.isVirtualNode = true;
|
this.isVirtualNode = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user