#7661 closed Bug (fixed)
Opera/Safari/Chrome : Error when editing pasted Multilevel list
Reported by: | Satya Minnekanti | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.0 |
Component: | Plugin : Paste from Word | Version: | 3.1 |
Keywords: | IBM | Cc: | Damian, James Cunningham, Teresa Monahan |
Description
To reproduce the defect:
- Copy Numbered/Bulleted list from attached word doc and paste in editor using Paste from Word dialog.
- keep cursor after 2nd list item in level 1 and press enter.
- A new empty list item at level 1 is created.
- Type some text and press enter
Expected Result: Another new empty list item at level 1 is created.
Actual Result: Another new empty list item at level 1 is created with an unnecessary <br /> added to it
Attachments (5)
Change History (10)
Changed 14 years ago by
Attachment: | Multilevel lists.doc added |
---|
comment:1 Changed 14 years ago by
Cc: | damo,jamescun,tmonahan → damo, jamescun, tmonahan |
---|---|
Status: | new → confirmed |
Version: | 3.5.3 → 3.1 |
comment:3 Changed 11 years ago by
Component: | General → Plugin : Paste from Word |
---|
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
The issue has been fixed in CKEditor 4.0 - starting from 4.0, the result is correct when creating the second list item (there is no new additional line). The only problem in 4.0 was that the cursor jumped at the beginning of the body element after creating the first list item. That issue no longer occurs in 4.4.6, in 4.4.6 the mentioned scenario works perfectly fine.
IE8, result after pasting:
<ol> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ol style="list-style-type: lower-alpha"> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ol> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ol> <p> </p> <ul> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ul> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ul> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ul> <p> </p> <p> </p> <p> </p>
IE11, result after pasting:
<ol> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ol style="list-style-type: lower-alpha;"> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ol> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ol> <p> </p> <ul> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ul> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ul> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ul> <p> </p> <p> </p> <p> </p>
Chrome 39, result after pasting:
<ol> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ol style="list-style-type:lower-alpha"> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ol> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ol> <p> </p> <ul> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ul> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ul> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ul> <p> </p> <p> </p> <p> </p>
Firefox 34, result after pasting:
<ol> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ol style="list-style-type:lower-alpha"> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ol> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ol> <p> </p> <ul> <li>First Line- Level 1</li> <li>Second Line- Level 1 <ul> <li>First Line- Level 2</li> <li>Second Line- Level 2</li> </ul> </li> <li>Third Line- Level 1</li> <li>Fourth Line- Level 1</li> </ul> <p> </p> <p> </p> <p> </p>
Changed 10 years ago by
Attachment: | 7661_ie8_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7661_ie11_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7661_chrome_rawdata_office2010std.txt added |
---|
Changed 10 years ago by
Attachment: | 7661_firefox_rawdata_office2010std.txt added |
---|
comment:5 Changed 10 years ago by
Milestone: | → CKEditor 4.0 |
---|
True for Webkit and Opera from CKEditor version 3.1
Opera adds false node "at the height" of second level but if you follow the scenario the effect will be the same (Clicking in this false node makes it disappear).