Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

default text property incase we need one.

jwd-devfb61c75e392a
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;
}