Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
94210021e3 |
+5
-9
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user