One common problem with Confluence is that it frequently generates phanatom white space above and below elements such as macros, tables, images, etc. Removing them can be an impossible task. How can you do it?
Full credit for this script goes to "ruslyrossi" on StackOverflow (http://stackoverflow.com/questions/10225967/remove-p-nbsp-p-with-jquery-if-no-value).
For Confluence Cloud I found that if you position your cursor immediately to the left of a macro while editing, a single vertical line will appear. If you hit the backspace (delete) key then that space will go away briefly and then reappear. If you do that for all macros on the page then the <p><br></p> will no longer be inline between the macros after saving/publishing.
I had hoped that it would no longer be an issue with the new editing experience but seems to still be there. I do most of my docs in Google Docs now anyway but still need to use Confluence for the JSD KB Articles. Maybe it gets fixed on the next UX release.
Agreed - it is tedious and should be unnecessary.
Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...
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