Break line and bold a single word in a variable text field Dec 19, 2018 By amit yunger I am trying to style text that in a variable, so far with no success… I wish to do 2 things: 1. Break a line. I tried to add “\n” as I saw in an old post, but it doesn’t work (story file attached). 2. Make a single word bold. How can I do it? Thank you and have a great day 😊 lineBreak.story
Phil Mayor Hero over 5 years ago12/19/18 at 9:09 am (UTC) It doesn't look like the text editor supports html codes anymore so may not be possible
amit yunger Author Phil Mayor over 5 years ago12/19/18 at 10:05 pm (UTC) Thanks, Phil. The line breaking issue is much more important than the bold issue. I don’t mind solving only the line breaking issue… There is a discussion that mentions the line breaking solution, but for some reason it doesn’t work for me - https://community.articulate.com/discussions/articulate-storyline/javascript-line-break-issues-with-sl-360 THX
Phil Mayor Hero over 5 years ago12/19/18 at 10:06 pm (UTC) I think this is broken at the moment, I reported it to Articulate this morning as a bug, but it may be expected behaviour.
amit yunger Author over 5 years ago12/19/18 at 10:31 pm (UTC) I'm not sure I understood what you meant when you wrote ״It may be expected behaviour” - did you mean that you think they’re not going to fix it?
Phil Mayor Hero amit yunger over 5 years ago12/19/18 at 10:35 pm (UTC) The line breaks and other html codes that worked were undocumented features, because of this it is not technically broken and is working as expected. I reported as a bug, hopefully it gets fixed. Sent from my iPhone
Alyssa Gomez Staff almost 5 years ago05/08/19 at 2:51 pm (UTC) Good news, folks! Storyline 360 text variables now support these HTML formatting tags: <b>, <i>, <br>, and <font color="#xxxxxx">. Click here to learn more. Update your software to take advantage of this enhancement. Let me know if you have any questions!
8 Replies
It doesn't look like the text editor supports html codes anymore so may not be possible
Thanks, Phil.
The line breaking issue is much more important than the bold issue. I don’t mind solving only the line breaking issue…
There is a discussion that mentions the line breaking solution, but for some reason it doesn’t work for me -
https://community.articulate.com/discussions/articulate-storyline/javascript-line-break-issues-with-sl-360
THX
I think this is broken at the moment, I reported it to Articulate this morning as a bug, but it may be expected behaviour.
I'm not sure I understood what you meant when you wrote ״It may be expected behaviour” - did you mean that you think they’re not going to fix it?
The line breaks and other html codes that worked were undocumented features, because of this it is not technically broken and is working as expected.
I reported as a bug, hopefully it gets fixed.
Sent from my iPhone
Got it. Thanks.
Good news, folks!
Storyline 360 text variables now support these HTML formatting tags: <b>, <i>, <br>, and <font color="#xxxxxx">. Click here to learn more.
Update your software to take advantage of this enhancement. Let me know if you have any questions!
WOW! This is so GREAT!
Thanks :)
This discussion is closed. You can start a new discussion or contact Articulate Support.