node serialization

This commit is contained in:
jwd-dev 2023-04-15 20:16:28 -04:00
parent fb61c75e39
commit 8cd170f40d

View File

@ -16,8 +16,10 @@ app.registerExtension({
} }
ComfyWidgets.STRING(this, "", ["", {default:this.properties.text, 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.serialize_widgets = true;
this.isVirtualNode = true; this.isVirtualNode = true;
} }