Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Lists are broken when deleting selected text

Ivan Livadnyi May 16, 2018

We have a page in Wiki with a number of lists. When I edit it, then select some text and delete it, I find my lists corrupt: some of list items lose their levels (see screenshots)

  1. https://prnt.sc/jik1tv
  2. https://prnt.sc/jik2rt
  3. https://prnt.sc/jik1tx

It doesn't matter, if I use MacOS with Google Chrome, or Linux with Mozilla Firefox – the result is equal on both OS/Browser combinations.

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 16, 2018

Hi LIvadnyi,

It appears that in the 3rd screenshot, 1a had been removed, which was a heading for the next few lines, 1ai, 1aii, and so forth. Thus deleting it will then bring the below levels up one.

Does the same occur if you don't delete 1a? It seems like it might be expected behavior there.

Regards,

Shannon

Ivan Livadnyi May 17, 2018

Hello! As i described via screenshot https://prnt.sc/jik2rt: I select and delete element

1

  a

      ii

         2

I don't delete the 1a element. So it is not expected, that 1a element is deleted, when I delete 1aii2 element.

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 17, 2018

Thank you for confirming that.

I'm trying to replicate on my own instance but I am not able to.

I also noticed that after vi , your list goes straight to i, then another i. So it seems like there may already be an issue with that list.

I can access your instance as an Atlassian employee, so if you could let me know the name of the space or type the name of the page, I can search for it. Unfortunately I am not familiar with typing Cyrillic so I am not able to do this myself.

Regards,

Shannon

Ivan Livadnyi May 18, 2018

A also tried to replicate this bug in another pages, but it repeats only on this page:

https://tripster.atlassian.net/wiki/spaces/Experience/pages/57868290

You can find the list, in which I try to delete by ctrl + F -> "nearest_tours"

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2018

Thank you for that!

So there definitely appears to be some hidden formatting that is corrupting the list. If you copied and pasted anything from another site it could cause this.

I determined two workarounds:

  1. You can simply delete each character one at a time by backspacing and the same thing won't happen.
  2. You can install Source Editor
    1. Once Source Editor is installed, go to the page itself, and in the top-right hand corner a new icon is added: 
      Screen Shot 2018-05-18 at 3.18.55 PM.png
    2. You can click this, select all, copy the text, and then replace the text again there. Click submit.
    3. Now, when you edit the page you can remove the line as expected.

I can confirm the 2nd option does correct the issue for the entire page. I tested this on my own Cloud instance.

Can you try it on yours? If you have any trouble just let me know and I can help you.

Regards,

Shannon

Ivan Livadnyi May 20, 2018

Hello!

Thank you for workarounds! I knew about the first one, I use it, but sometimes automatically I select and delete (it is just inconvenient).

What I want from Atlassian is to fix this bug in future. Please give me a link to bug, I'd like to subscribe on updates for this bug.

I've tried the second workaround, but I don't found any hidden formatting, that can broke my lists. Do you see it?

Have a nice day!

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2018

Hi Livadnyi,

This isn't a bug in Confluence, but due to copying and pasting content from other sources. This can happen as a result and it's best to reset the content using the 2nd method to clear anything that might have been inadvertently added, visible or not.

In my workaround, the step isn't to search through the content and find anything that doesn't belong there, but rather to copy all text, delete it, and paste it again. This will correct your issue.

Regards,

Shannon

Ivan Livadnyi May 23, 2018

Hi Shannon,

 

Only now understood, that you recommended open the page with source editor and save it from it. After I do that the problem was disappeared. Now the problem solved, you can close the question.

 

Have a nice day and thank you for patience :)

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2018

Glad you were able to resolve it, Livandnyi!

Take care.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events