From 330e3e5ee146058b9194f9bdc186896e317286c0 Mon Sep 17 00:00:00 2001 From: Tyler Cooper Date: Tue, 19 Aug 2025 11:58:34 -0500 Subject: [PATCH] Update text_multiline.js --- app/blocks/text/text_multiline.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/blocks/text/text_multiline.js b/app/blocks/text/text_multiline.js index 061c245..f789186 100644 --- a/app/blocks/text/text_multiline.js +++ b/app/blocks/text/text_multiline.js @@ -3,25 +3,21 @@ export default { type: 'io_text_multiline', name: "Multiline Text", colour: 180, - description: "A String of longer-form text with newlines.", - + description: "Create formatted text content with multiple lines, paragraphs, and line breaks. Perfect for composing detailed email messages, creating formatted reports with sensor data, writing multi-paragraph notifications, or building structured text content that needs proper formatting and readability across multiple lines.", connections: { mode: "value", output: [ "expression", "string" ], }, - template: "ΒΆ %TEXT", - fields: { TEXT: { + description: "Enter your multi-line text content here. Use Enter/Return to create new lines and paragraphs. Perfect for email templates ('Dear User,\\n\\nYour temperature reading is...\\n\\nBest regards'), formatted reports, detailed notifications, or any text that needs structure and readability.", multiline_text: '' } }, - generators: { json: block => { const text = block.getFieldValue('TEXT') - return [ JSON.stringify(text), 0 ] } }