diff --git a/web/extensions/core/noteNode.js b/web/extensions/core/noteNode.js index 12428773c..1412d4373 100644 --- a/web/extensions/core/noteNode.js +++ b/web/extensions/core/noteNode.js @@ -12,9 +12,10 @@ app.registerExtension({ constructor() { if (!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.isVirtualNode = true; }