Nougan Text Box π
A no-frills text box that emits a clean STRING
- TEXT
Some nodes do a lot; this one does the one thing you keep needing: a multi-line text box whose contents come out as a STRING. NouganTextBox is the plain utility member of Winnougan's Nougan_Nodes suite - you type, it passes through, you wire the output into a CLIP text encoder, a prompt builder, or any string input that needs a hand-typed value.
It sounds almost too simple to write about, and that's sort of the point. The stock ComfyUI CLIPTextEncode embeds its prompt widget in the node, which is fine until you want the same prompt text in two places, or you want a text value that isn't a prompt at all - a filename fragment, a metadata field, a label for another node. A standalone string source lets you edit one box and have the change flow everywhere.
How it works
There's no trick. The widget is the source of truth; the node returns (text,) as its TEXT output. The one piece of real engineering is IS_CHANGED, which keys on the text itself - so the node re-runs when the text changes but ComfyUI's cache won't fire it redundantly on every queue. That sounds like a detail, but it's the difference between your downstream nodes seeing an edit on the next run and silently holding the old value.
The inputs that matter
Exactly one: text - the multi-line string, which flows straight to the TEXT output. There's a styled panel around it (the suite ships a themed UI on everything), but functionally it's a text area.
Installing
Search Nougan in ComfyUI Manager, or:
cd ComfyUI/custom_nodes
git clone https://github.com/Winnougan/Nougan_Nodes
# restart ComfyUI
No dependencies beyond the pack itself - this is about as dependency-free as a node gets.
Gotchas worth knowing
Honestly, there aren't many, and inventing them would be silly. Two small notes. The output is a plain string - if you paste something with trailing newlines, that whitespace is preserved, so check your prompt is clean if you're feeding it into a text encoder that cares. And because IS_CHANGED keys on the text, an empty box that you never touch is cached and won't re-run - which is the intended behavior and almost never what you're debugging when you think it's not working. If you need a text box with counts, copy/clear buttons, or live character stats, the suite's sibling NouganTitleFont and the LM Studio Prompt Box carry those extras; this one is deliberately bare.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Type anything. This text is sent to the STRING output. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| TEXT | STRING | β |