A text/prompt editing node

Could we have a node with a large text box in the configuration for inserting and managing text variables such as prompts with more visibility to a long text than the usual nodes. The node could have a checkbox to decide whether the text is emitted with line breaks and other possible formatting tags or just plain text.

Hi @pzkor , whilst no specific node exists, you can create a component, such as this one, which generates a single cell table.

Alternatively, from the built in nodes, you can use the CSS Editor node (now legacy in that latest versions) to create a Flow Variable

Despite its name, you can enter any multi line text and have it output as a variable.

Whichever you choose, you can opt to remove linefeeds if you want to by following with String Manipulation or String Manipulation Variable (for example) and perform a regexReplace.

2 Likes