I would like to insert line breaks in my template's instructional text. I've read that Shift+Enter should do the trick, and it does when I am editing the template - but when I save my changes I lose the line breaks. Hoping it was a browser-specific issue I have tried on Chrome/Mac, Chrome/Windows, Safari, and IE11 - no luck!
And.... just created a template the same way, and got the same results.
Using Chrome on Windows 10 if it matters. Have found that IE/Edge don't play well with Confluence, and just the other day discovered Create from Macro buttons don't work in Firefox...
Hello there! After reading the thread I understand that text that contains line breaks inserted using Shift+Enter do not keep the formatting after page publish.
There is an update that I believe is needed within the thread itself.
One bit that needs an update is the “Instructional Text” part. As of today, this is now called “Placeholder Text”. You can select it via two methods:
- Type / to bring the macro search
- Type placeholder
- Select the Placeholder macro
- Click the Insert option at the toolbar
- Select Placeholder text
As explained early in the thread, Shift + Enter does not work with Placeholder Text. As soon as Enter is pressed, the Placeholder Text is inserted into the page.
The solution is to placer multiple Placeholder Text, one under the other, simulating line breaks:
You can check more details on Template creation here:
For Confluence Server this is still called “Instructional Text” and does not support line breaks as well.
The workaround is the same, place multiple Instructional Texts one under the other to simulate line breaks.
While editing the template, the line breaks will display as expected, however, after saving the template the text will be displayed all within the same line.
You can check more details on the creation of templates for Confluence Server here:
I hope this clarifies this behavior for anyone looking at this thread today!
EDITED: Sry - meant to reply to Diego above.
Hi @Diego ,
thanks for posting the clarification.
But imho, this is still a shame :( Confluence is awesome in principle, but how often does Atlassian just not get the basics right because people don't complain enough about it? This has been extremely frustrating over all the years.
It should be absolutely obvious that you want to explain stuff in your instructional text such that all writers can comply with the idea of what should really go into a section/heading (which is usually much more complicated than just 'surname' or 'address'). And good explanations need format - at the very least line breaks .
https://jira.atlassian.com/browse/CONFSERVER-32700 is the corresponding JIRA issue closed as won't fix because it is 'not meant' to have line breaks. I wonder from which sane knowledge management principle this is meant to not possess any structure.
That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events