Opened 15 years ago
Closed 14 years ago
#4945 closed Bug (fixed)
Paste: Outline Numbered list do not copy correctly v2
Reported by: | Damian | Owned by: | Paweł Horzela |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | SVN (CKEditor) - OLD |
Keywords: | IBM | Cc: | Joe Kavanagh |
Description
Lists with more than 2 levels and that have the style "Outline Numbered" do not paste correctly. Levels beyond the 2nd level collapse.
This is not dependant on the measurement units applied. Very similar #4896
See tc document attached:OutlineNumberedList2.doc
Attachments (4)
Change History (19)
Changed 15 years ago by
Attachment: | OutlineNumberedList2.doc added |
---|
comment:1 Changed 15 years ago by
Keywords: | Confirmed added |
---|---|
Version: | → SVN (CKEditor) |
comment:2 Changed 15 years ago by
Milestone: | CKEditor 3.1 → CKEditor 3.x |
---|
comment:3 Changed 15 years ago by
Keywords: | IBM added |
---|
comment:4 Changed 15 years ago by
The steps to create this particular document are quite basic. Because this list is so easy to create, it may be encountered by many users using the paste feature.
I've provided a screen shot of the default list style that is applied, as it appears in Word.
Changed 15 years ago by
Attachment: | ListStyleUsedForTC.png added |
---|
comment:6 Changed 14 years ago by
Owner: | set to Paweł Horzela |
---|---|
Status: | confirmed → assigned |
comment:7 Changed 14 years ago by
When we copy and paste text from word, copied data sometimes looks like:
<OL> <LI>1. First Line- Level 1</LI> <LI>2. Second Line- Level 1</LI> <OL> <LI>a. First Line- Level 2</LI> <LI>b. Second Line- Level 2</LI> <OL> <LI>i. First Line- Level 3</LI> <LI>ii. Second Line- Level 3</LI> </OL> </OL> <LI>4. Third Line- Level 1</LI> <LI>5. Fourth Line- Level 1</LI> </OL>
and sometimes like:
<P>1. First Line- Level 1</P> <P>2. Second Line- Level 1</P> <P>a. First Line- Level 2</P> <P>b. Second Line- Level 2</P> <P>i. First Line- Level 3</P> <P>ii. Second Line- Level 3</P> <P>4. Third Line- Level 1</P> <P>5. Fourth Line- Level 1</P>
with many different attributes of course (like margins, fonts, etc).
The problem is, when sometimes data copied from word is mixed and looks like:
<OL> <LI>1. First Line- Level 1</LI> <LI>2. Second Line- Level 1</LI> <OL> <LI>a. First Line- Level 2</LI> <LI>b. Second Line- Level 2</LI> </OL> </OL> <P>i. First Line- Level 3</P> <P>ii. Second Line- Level 3</P> <OL> <LI>4. Third Line- Level 1</LI> <LI>5. Fourth Line- Level 1</LI> </OL>
comment:8 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
@paho Nice explanatory, we'll not be able to provide any fixing here as there will never have enough evidence for us to infer the indent level of such middle paragraphs.
comment:9 Changed 14 years ago by
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Pawel's patch proposed a possibility to fix such cases, confirmed in both 2007 and 2010, where 'tab-stops' is presented on <li> to help us analysis the indentation level of following list items that are presented in paragraph. Unfortunately this indicator doesn't appear in version 2003 but anyway it would be good to have it.
I'm now simplifying the patch one step future to make it better to understand.
Changed 14 years ago by
Attachment: | 4945_2.patch added |
---|
comment:10 Changed 14 years ago by
Status: | reopened → review |
---|
comment:15 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Confirmed, while for this specific list structure we've been unable to infer the correct indentation of level3, we're not able to fix it right now, leave it open for investigation.