So, Confluence handles text like this on purpose. The issue here is that lots of users are used to editors like Microsoft Word, where every single dang bit of XML is individually styled. The World Wide Web just doesn't operate that way so when we start using an editor that works with REAL XML, we need to treat the "web document" as if we were creating a website, which means we NEED to adhere standards. This means that text should be in paragraph tags, styling should be done through CSS, etc.
Now, what's happening when you turn text into Heading 1 is that you are indicating that this text is a title. It wraps the "title content" in the HTML tags:
<h1>Title content goes here</h1>
When you type a " " (space) you aren't leaving the H1 (or h2, h3, h4, h5, etc) tags, you're still "inside" the heading. The ONLY way to break out of that heading is to do a Hard Return which you do by pressing Enter (or Return) on your keyboard. This places you in a new set of <p> (paragraph) tags. Doing a Soft Return (Shift+Enter) also WILL NOT break you out of a heading: It simply inserts a line-break, or more specifically:
What am I trying to say? What you are asking really isn't possible because of the way Confluence works. What you DO want is the ability to set "font-size" arbitrarily. I haven't seen an add-on for that anywhere and Atlassian is going to avoid it because they make documentation and have no need for setting font sizes outside of headings.
You could possibly achieve this with a User Macro, if you wanted to check that out.
If you want a user macro that let's you set font-size inline, you can try this out:
## Macro Name: Font Size ## This macro adjusts font-size based on user choice. ## Developed by: steve behnke [blackpearl pdm] ## @param Size:title=Font Size|type=enum|enumValues=8px,10px,12px,14px,16px,18px,20px,24px,32px,48px,72px|required=true|desc=Choose a font-size (px) ## @param Content:title=Text|type=string|required=true <span style="font-size: $paramSize;">$paramContent</span>
You can't use the Macro Body option because Confluence won't let macros with a body be inline. You must capture the input via a parameter.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs