Opened 15 years ago

Last modified 13 years ago

#5085 confirmed Bug

Bullet points duplicated on single line

Reported by: bpbdope Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.0
Keywords: Firefox IE Cc:

Description

First, create a few bullet point lists items with nested lists. Next try to select a nested list and start typing to overwrite the text. Notice how the text continues at the parent list level and the multiple bullet points on the same line. It is really hard to recover from this, without deleting and recreating the lists. It seems to only be an issue in Firefox and IE6,7,8. Looking at the source, it seems that there is an orphaned <ul> tag under an empty <li> tag.

For example, the source below will cause the duplicate bullet points:

<ul>

<li>first level</li> <li>

<ul>

<li>start of 2nd level</li>

</ul>

</li>

</ul>

It is possible to get into this situation using the above steps to highlight and overwrite text.

Attachments (7)

trial 1 before.txt (365 bytes) - added by bpbdope 15 years ago.
trial 1 after.txt (562 bytes) - added by bpbdope 15 years ago.
IE679_correct.png (8.6 KB) - added by Jakub Ś 13 years ago.
IE679_incorrect.png (9.0 KB) - added by Jakub Ś 13 years ago.
IE679_incorrect_result.png (8.1 KB) - added by Jakub Ś 13 years ago.
IE8_result.png (11.2 KB) - added by Jakub Ś 13 years ago.
FF_result.png (11.1 KB) - added by Jakub Ś 13 years ago.

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by bpbdope

Attachment: trial 1 before.txt added

Changed 15 years ago by bpbdope

Attachment: trial 1 after.txt added

comment:1 Changed 15 years ago by Alfonso Martínez de Lizarrondo

Keywords: bullet point lists duplicate removed
Milestone: CKEditor 3.x

comment:2 Changed 13 years ago by Jakub Ś

Component: GeneralCore : Lists
Keywords: Firefox IE added
Status: newconfirmed
Version: 3.13.0

Reproducible in Firefox and IE6-9 from CKEditor 3.0

  1. Copy HTML from trial before and insert it into editor
  2. Select two sublist elements located under HHS elements ('Here is some test text' and 'Test test test test')
  3. type word 'test'

Results:

  1. In Webkit and Opera, word 'test' is written in second-level list under HHS which is correct
  2. In IE6, 7 and 9 if you select sublist elements without space behind them (See IE679_correct.png), result is the same as for Webkit and Opera. If you you select sublist elements with space behind them (See IE679_incorrect.png), main list element 'NIH' will become sublist element (See IE679_incorrect_result.png)
  3. In IE8, no matter how you select these elements you will get messed up list (See IE8_result.png)
  4. In FF no matter how you select elements, you will type word 'test' next to main list 'NIH' element and not in sublist under 'HHS' element (See FF_result.png)

This is not that bad as you can simply press enter and then indent current element.

Changed 13 years ago by Jakub Ś

Attachment: IE679_correct.png added

Changed 13 years ago by Jakub Ś

Attachment: IE679_incorrect.png added

Changed 13 years ago by Jakub Ś

Attachment: IE679_incorrect_result.png added

Changed 13 years ago by Jakub Ś

Attachment: IE8_result.png added

Changed 13 years ago by Jakub Ś

Attachment: FF_result.png added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy