code-block in a bullit list does no longer indent after upgrading to Confluence 4

I'm trying out Confluence 4 to see if the new editor is indeed less buggy than the previous.

I used to have bullet lists with code blocks in some bullits (to detail steps to take, for example an SQL query)

Any page that I haven't edited in the 4.0 editor display fine, but if I edit a bullit with a code block it will indent to the left, no clicking on left/right in the menu bar will line-up the block as it used to be.

The screenshot shows my issue in editing mode, the top code block is neatly positioned beneath the text, the bottom one I accidentally edited and now I can't get it back to where I want it. It's not just misaligned in editing mode but also when viewing the page.

Can I align code blocks in a bullit list like I used to do in Confluence 3.x ?

2 answers

1 accepted

Try the following:

  1. Click on the bottom code block icon to select the whole code block, then cut it (Ctrl + x).
  2. Place the cursor to the end of the second bullet line (eg. '...database')
  3. Pressh Shift + Enter
  4. Paste it (Ctrl + v)
  5. Voila?

As described here, You can use 'Shift + Enter' to create a new line without having a new bullet or exiting from the bullet list.

Excellent answer. Straight and to the point. Thanks.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,810 views 26 10
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you