Compare commits

...
Author SHA1 Message Date
KarrixLee 94210021e3 tweaj 2025-06-28 00:41:05 +08:00
+5 -9
View File
@@ -504,16 +504,12 @@ const ext = {
onNodeCreated ? onNodeCreated.apply(this, []) : undefined; onNodeCreated ? onNodeCreated.apply(this, []) : undefined;
// Create a multiline text widget to display the output (similar to rgthree) // Create a multiline text widget to display the output (similar to rgthree)
this.textDisplayWidget = this.addWidget( this.textDisplayWidget = app.widgets.STRING(
"text", this,
"displayed_text", "displayed_text",
"", ["STRING", { multiline: true }],
() => {}, app2
{ ).widget;
multiline: true,
serialize: false, // Don't save this to the workflow
}
);
// Style the widget to look like a proper text display box // Style the widget to look like a proper text display box
if (this.textDisplayWidget.inputEl) { if (this.textDisplayWidget.inputEl) {