# Possibility to choose multiline editor instead of classic string editor in subflow environment variable input type

**URL:** https://discourse.nodered.org/t/possibility-to-choose-multiline-editor-instead-of-classic-string-editor-in-subflow-environment-variable-input-type/84507
**Category:** Feature Requests
**Created:** [12 January 2024 09:27 UTC](https://discourse.nodered.org/t/possibility-to-choose-multiline-editor-instead-of-classic-string-editor-in-subflow-environment-variable-input-type/84507 "2024-01-12T09:27:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bombjackit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bombjackit/32/51856_2.png) [@bombjackit](https://discourse.nodered.org/u/bombjackit)
#### Post date: [12 January 2024 09:27 UTC](https://discourse.nodered.org/t/possibility-to-choose-multiline-editor-instead-of-classic-string-editor-in-subflow-environment-variable-input-type/84507/1 "2024-01-12T09:27:09Z")

</div>

When I create a subflow it might be useful to have the possibility to choose a multiline editor for some environment variable instead of classic one line string editor

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [12 January 2024 09:41 UTC](https://discourse.nodered.org/t/possibility-to-choose-multiline-editor-instead-of-classic-string-editor-in-subflow-environment-variable-input-type/84507/2 "2024-01-12T09:41:20Z")

</div>

May I ask why?

---

<div class="post-metadata">

### Author: ![bombjackit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bombjackit/32/51856_2.png) [@bombjackit](https://discourse.nodered.org/u/bombjackit)
#### Post date: [12 January 2024 10:03 UTC](https://discourse.nodered.org/t/possibility-to-choose-multiline-editor-instead-of-classic-string-editor-in-subflow-environment-variable-input-type/84507/3 "2024-01-12T10:03:54Z")

</div>

In my case I use an environment variable to store an sql statement, on a multiline editor is more readble respect to a single line one.

For example  
select a.apple, b.orange, c.kiwi from store1 a inner join store 2 b on a.id = b.id inner join store3 c on a.id = c.id  
on multiline you can write a more readble statement (I see that spaces are trimmed 😔)  
select  
a.apple,  
b.orange,  
c.kiwi  
from  
store1 a  
inner join  
store2 b on a.id = b.id  
inner join  
store3 c on a.id = c.id

---

<div class="post-metadata">

### Author: ![paulkeates](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@paulkeates](https://discourse.nodered.org/u/paulkeates)
#### Post date: [13 January 2024 17:52 UTC](https://discourse.nodered.org/t/possibility-to-choose-multiline-editor-instead-of-classic-string-editor-in-subflow-environment-variable-input-type/84507/4 "2024-01-13T17:52:45Z")

</div>

Hi,

Can you try using a '/n' at the end of the line?

I'm not sure if it does anything - or even what you want - but definitely breaks subflow titles into multiple lines to enhance readability.

Cheers,

Paul

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [13 March 2024 17:53 UTC](https://discourse.nodered.org/t/possibility-to-choose-multiline-editor-instead-of-classic-string-editor-in-subflow-environment-variable-input-type/84507/5 "2024-03-13T17:53:07Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
