Assign multi-line text value to variable

Feb 02, 2024

How do you assign a multi-line value to a text variable in Storyline 360. Pasting in more than one line in the ‘text’ variable only stores the first line.

i want the slide to load, then the variable to be available with the multiline value, so that javascript that executes on the slide load is able to read and use that value without user interaction.

Also, can you read the value of the current slide ‘notes’ (transcript) using variables/javascript?

1 Reply
Steve Gannon

Tim, before pasting the text into the variable, insert <br> where you want a line break to occur. If you want a blank line, you would enter <br><br>.

Here are the other supported HTML tags:

https://access.articulate.com/support/article/Storyline-360-Using-HTML-Formatting-Tags-in-Text-Variables

I'm not aware of a way to programmatically read-in the notes into variables although a clever JavaScript coder may be able to accomplish this.