Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,026
Community Members
 
Community Events
165
Community Groups

I need to know how to delete the horizontal line macro? There is no Edit or Remove button

I have a page, with UI expands, I accidently added the macro horizontal line in between two of my UI sections, but I cannot delete it now.  I have tried everything, including trying to find the source code for it.  I can delete the entire FAQ widget/macro, but really?  I just need the line to go and delete the extra white space.

1 answer

Hello @Donna Breckenridge,

Try pressing backspace on the next row after the horizontal line. It worked for me for deleting a Horizontal rule in Confluence 6.13.8 with Chrome 81.0.4044.138 (Official Build) (64-bit).

Which is fine if the horizontal line is not the last thing on the page, but frustrating if it is.

Is there a way to access some sort of underlying mark-up language to allow me to delete it?

FWIW  I managed to replace it with random text which I could then delete.

I'll retract that, it was still there.

Bump!  I have 3 lines I can now not remove....

Did anyone ever figure this one out?

I did figure out a work around to this.  I opened up the page with the source editor and removed the <hr/> from the code.  Not ideal, but got the job done.

Like John Naughton likes this

Also, if you have a Confluence page with hundreds of horizontal rules <hr/> at the bottom of the page (due to the Confluence content duplication bug) I found this post on stack overflow very helpful:

https://stackoverflow.com/questions/16099428/chrome-web-inspector-find-and-replace

Alternatively if you want to search and replace in the HTML you could Right ClickEdit as HTML the<body>in the DevTools Elements Panel select all the text with Ctrl+a, paste into your favourite editor, make the change there and paste it back.

First, using the Chrome browser (Firefox probably works as well) open your page in the Confluence editor.  Open the browser developer tools and find the HTML element containing the <hr/>.  Follow the step quoted above.  Then, when you save the page from the Confluence editor the horizontal lines at the bottom of the page will be gone.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

379 views 0 7
Read article

Community Events

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

Events near you