Ticket #5085 (confirmed Bug)

Opened 4 years ago

Last modified 2 years ago

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

trial 1 before.txt (365 bytes) - added by bpbdope 4 years ago.
trial 1 after.txt (562 bytes) - added by bpbdope 4 years ago.
IE679_correct.png (8.6 KB) - added by j.swiderski 2 years ago.
IE679_incorrect.png (9.0 KB) - added by j.swiderski 2 years ago.
IE679_incorrect_result.png (8.1 KB) - added by j.swiderski 2 years ago.
IE8_result.png (11.2 KB) - added by j.swiderski 2 years ago.
FF_result.png (11.1 KB) - added by j.swiderski 2 years ago.

Change History

Changed 4 years ago by bpbdope

Changed 4 years ago by bpbdope

comment:1 Changed 4 years ago by alfonsoml

  • Keywords bullet point lists duplicate removed
  • Milestone CKEditor 3.x deleted

comment:2 Changed 2 years ago by j.swiderski

  • Status changed from new to confirmed
  • Keywords Firefox IE added
  • Version changed from 3.1 to 3.0
  • Component changed from General to Core : Lists

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 2 years ago by j.swiderski

Changed 2 years ago by j.swiderski

Changed 2 years ago by j.swiderski

Changed 2 years ago by j.swiderski

Changed 2 years ago by j.swiderski

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy