End of Support for Joomla 3 - Forum closed
[SOLVED] Line Break in JS Typewriter
Hi,
I have text to display in the Typewriter module, but need it to have line breaks. Can anyone provide guidance on whether it is possible in the text editor? I've tried using <p> and <br> tags but they appear to be stripped out when the page loads.
Or if there needs to be a change in the javascript itself, if so, what would need to be modified?
Thanks in advance.
I have text to display in the Typewriter module, but need it to have line breaks. Can anyone provide guidance on whether it is possible in the text editor? I've tried using <p> and <br> tags but they appear to be stripped out when the page loads.
Or if there needs to be a change in the javascript itself, if so, what would need to be modified?
Thanks in advance.
by pomellsa
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Sorry line break is not supported.
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Thanks for the response. In the end I found a workaround that is not elegant but does produce the desired end result. By using ensp and emsp in the text editor <Source Code>
these ensp; adds 2 spaces ( ) and emsp; 4 spaces ( ). there's a & at the beginning of those names, but if typed in here it will display the space... not the word.
Through trial and error it's possible to add the required number of extra spaces until they force the text onto a new line.
these ensp; adds 2 spaces ( ) and emsp; 4 spaces ( ). there's a & at the beginning of those names, but if typed in here it will display the space... not the word.
Through trial and error it's possible to add the required number of extra spaces until they force the text onto a new line.
Last Edit:5 years 1 month ago
by pomellsa
Last edit: 5 years 1 month ago by pomellsa.
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates