The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop Confluence from glomming text right onto the top of a table

Patrick O_Connell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 23, 2021

Good day.

Surely someone has had this same experience. You deliberately leave a blank paragraph, formatted as just Para or any kind of heading, between some text and the top of the table. You want that breathing room, in the rendered page.

And Confluence completely ignores that:

when_editing.pngwhen_preview_or_publish.png

It seems as though this doesn't happen 100% of the time. I'm not sure of the precise conditions that cause it to happen.

So. My fix is: Instead of putting a blank paragraph between the text and top of the table, put a blank line with some white text on it:

the_fix.png

As fellow Canadian Jerry O'Connell once said in a TV ad of some kind, "Et, viola!"

 

Cheers,
Pat O'Connell
Technical Writer
MindGeek Montreal

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Andy Folland
Contributor
August 27, 2021

Hello Pat,

As a fellow thunder-nerd when it comes to issues like this, I have also had occasion to get the bonnet up when this happens.

Forgive the lack of proper techie jargon here, but what happens when your inserted paragraph does not render properly is that Confluence occasionally decides to insert a magic paragraph for you that kind of breaks up chunks of stuff that would otherwise be stuck together in the editor (e.g. 2 tables that butt up against each other).

But said magic paragraph has been configured in some way that means it does not render in View mode.

So if you examine the html that it's written, you see this:

<p class="auto-cursor-target">
<br/>
</p>

If you can just strip out the "auto-cursor-target" bit, it wil then behave as a "normal" paragraph.

It's quite annoying that you can't sort this out via the editor, and have to resort to tweaking the html (BTW for me, that is achievable by virtue of a "source editor" add-on).

Hope that helps (a bit).

Cheers,


Andy

TAGS
AUG Leaders

Atlassian Community Events