Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,459,203
Community Members
 
Community Events
176
Community Groups

How can I remove sections?

I try backspace, I try clicking on it, but I can't seem to delete the page section, only the content in it.  I guess I could probably do it with the source editor, but there must be an easier way?

4 answers

10 votes

Click on the "page layout" button to get the section menu to drop down, click on the section you want to kill off, then use "remove section" from the menu

Yes this works perfectly, thank you.

Took me a second to find the "Page Layout" button, for those similarly blind: 

2022-02-11 11_49_30-.png

Like # people like this

Unfortunately, the option to non-destructively remove multi-sections as shown in the above comment and return to a single panel is only available in Server/Data-Center. If you are on the Cloud, the editor has regressed to a destructive removal of sections only.

It is rather a pain after using Server for all these years.

Like Per Sjörs likes this

This demonstrates how much the editor has to improve still. This is a pretty basic ask.

Actually, this is a bit of an odd one - most of us are screaming to get sections back!

Well, I've just found an easy workaround.

  • Create a new temporary page.
  • Create a section on this new page via "Other macros" -> "Section" -> "Insert".
    Screenshot 2022-09-05 at 23.43.33.png
  • Copy and paste all the section parts from your original corrupted page into this section in your new page. It will not be corrupted inside of the section macros.
    Screenshot 2022-09-05 at 23.39.03.png

    Screenshot 2022-09-05 at 23.37.54.png
  • Open "Page layout" in your original corrupted page and press "Remove section" until your document is not COMPLETELY blank. Make sure it is.
    Screenshot 2022-09-05 at 23.38.12.png
  • Select and copy all the data from the section in the temporary page. Paste it into the old empty page.
  • Remove the temporary page.
  • Congratulations :)

Unfortunately, there is no way to remove sections (page layouts) non-destructively. :(


There is a way to do this using the free 'Confluence Source Editor' add-on:

https://marketplace.atlassian.com/apps/1210722/confluence-source-editor?hosting=server&tab=overview

Once installed and activated, you have to (carefully!!) remove all the tags pertaining to the layout macro (<ac:layout...>) including their respective closing tags by hand.

It's not a pretty solution, but it has worked for me several times. And using the built-in Search & Replace function of the add-on, it's not that hard to do, either.

But it would sure be nice if Atlassian added a possibility to remove section/layout macros without deleting all the content that's in them without hacking the source code!

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events