It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I get more control over indentation levels in a list?

I have two related questions about controlling indentation in a numbered list. Oddly, this is behaving differently when I'm editing a page on my team's confluence than here in this box. The desired behavior described below is happening in this box.

Situation 1: I want to change the indentation level of just one line. Say I start with this...

image.png

... but I decide that "I have items" should actually be a sub-item of "It's okay I guess." In other words, I'd like it to be 1.b.i instead of 1.c, and "Some are very profound" should be 1.b.ii. However, on my Confluence page hitting tab on that line drags the sub-item along, so that "Some are very profound" becomes 1.b.i.1, like this...

image.png

Is there some other way to indent just one line?

Situation 2: I want to remove a line that's a mistake, without affecting indenting lower down. Here, I want to delete "Oops I got added by mistake," and keep "It's okay I guess" at the same level: It should go back to being 1.b.

image.png

But when I delete that line, "It's okay I guess" gets moved to a top-level item, like this:

image.png

Obviously there's a workaround where I can just go change the one I don't like after the fact, but if I have lots of items that were dragged along it gets gnarly. Please let me know if anything doesn't make sense, or if more information is required. Thanks so much!

1 answer

The problem is the HTML structure behind, imho

You have something like (<ol> is ordered list ; <li> is list item):

<ol>                                //first level ordered list
<li> //first item first level
I'm at the top level
</li>
<ol> //second level
<li> //first item second level
how does it feel
</li> //second item second level
<li>
feels fine, i guess
</li>
<ol> //third level
<li> //first item 3d level
i have items
</li>
<ol> //4th level
<li> //first item 4thlevel
some very deep inside
</li>
</ol>
</ol>

</ol>
<li> //second item first level
But here start the trouble
</li>
<li> //third item second level
This is also top level
</li>
</ol>

when you add a change the level of a row you add the <ol>tab, but you don't delete the inner <ol> tab

 

when deleting is the same thing, you delete "oops", you delete the <il> and the <ol> and you loose a level for everything

Here you have a html online editor where you can play easily

https://html-online.com/editor/

 

I can't figure out a simple solution, going into the code  (with the <> button on the top right of confluence is not very useful either. Maybe using a good and aesy to use html editor and then copying the good code into the confluence code

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,651 views 8 2
Join discussion

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