Opened 12 years ago

Last modified 9 years ago

#8516 confirmed New Feature

Introduce Html ordered list 1.1, 1.2 (also when pasting from MS Word) — at Version 4

Reported by: KevinAngelo Owned by:
Priority: Normal Milestone:
Component: Core : Lists Version: 3.0
Keywords: Cc:

Description (last modified by Jakub Ś)

Descriptive summary : Copy-Pasting content from MS Word 2007 to the newly downloaded CKEditor 3.X causes the following issue:

  1. The multi-layered bullet points do not appear correctly.
  2. The MS Word style "Title" has an underline which is not pasted into the editor.

Steps to reproduce : Copy content from the attached word file to the online demo.

Browser name and OS : We have installed the editor on a Virtual Machine:

  1. computer configuration: Intel Pentium
  2. OS: Windows Server 2003 R2 - SP2

Client 1:

  1. computer configuration: Intel core i5
  2. OS: Windows 7 Ultimate (x32)
  3. Browser name and version: IE9

Client 1:

  1. computer configuration: Intel core i5
  2. OS: Windows 7 Ultimate (x64)
  3. Browser name and version: IE8

Screenshot : attached

Sample data : attached

Please see comment:4

Change History (7)

Changed 12 years ago by KevinAngelo

Changed 12 years ago by KevinAngelo

Attachment: Editor screenshot.png added

Changed 12 years ago by KevinAngelo

Attachment: Demo tool screenshot.png added

comment:1 Changed 12 years ago by Jakub Ś

Component: GeneralCore : Lists
Status: newconfirmed
Version: 3.6.23.5.3

2.The MS Word style "Title" has an underline which is not pasted into the editor.

This part of the ticket is invalid. All you have to do is set

config.pasteFromWordRemoveFontStyles=false;
config.pasteFromWordRemoveStyles=false;

1.The multi-layered bullet points do not appear correctly.

Results vary depending on a browser but the numbering in sub lists is not the same as in word.
All browsers except Webkit see pasted content as lists. Webkit sees paragraphs.
I think Firefox is the closest to the expected result.
All browsers (except Webkit) use deprecated value tag in li tags.

Issue has been reproducible from CKEditor 3.5.3 rev [6616] when new numbering for nested lists was introduced.

Before this changeset the provided example data caused sublists to be pasted with bullets or caused alert to popup "It was not possible to clean up pasted data due to an internal error".

Last edited 12 years ago by Jakub Ś (previous) (diff)

comment:2 Changed 12 years ago by Jakub Ś

Other tickets caused by [6616] revision: #7982, #8136, #8780

comment:3 Changed 11 years ago by Jakub Ś

Problem can be reproduced in CKEditor 4.

comment:4 Changed 11 years ago by Jakub Ś

Description: modified (diff)
Summary: Paste from MS Word 2007 - format issuesIntroduce Html ordered list 1.1, 1.2 (also when pasting from MS Word)
Type: BugNew Feature
Version: 3.5.33.0

Perhaps I got too quick with confirming this ticket.

  1. I have noticed that list from word gets pasted as 3 lists but if in MS Word you remove paragraphs between list and sublists then CKEditor sees one list.
  2. About numbering - the problem is that html doesn't support such numbering by default. You have to use CSS for it e.g.
    http://stackoverflow.com/questions/4098195/can-ordered-list-produce-result-that-looks-like-1-1-1-2-1-3-instead-of-just-1
    http://stackoverflow.com/questions/10405945/html-ordered-list-1-1-1-2-nested-counters-and-scope-not-working
    http://stackoverflow.com/questions/3635955/how-to-create-a-1-1-1-2-1-3-html-list
    https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Counters

Currently we don't see a way to implement this so I'm changing this Bug Report to Feature Request that perhaps will be implemented in the future.

Last edited 9 years ago by Jakub Ś (previous) (diff)
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