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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

678 views 21 12
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