Opened 8 years ago

Last modified 7 years ago

#9456 closed Bug

Properly paste bullet list style from MS-Word — at Initial Version

Reported by: JPG Owned by:
Priority: Normal Milestone: CKEditor 4.0.1
Component: Plugin : Paste from Word Version: 3.0
Keywords: Chrome Cc: Jeff Fournier


When you use the "Paste from Word" function to paste text containing bullet list, there is a few problems in all browser i've tried (Chrome v.22, FF v.16 and IE v.9).

How to reproduce :

  • Open the attached document (text-with-bullet-list-example.doc) ;
  • Copy the text ;
  • Click on the "Paste from Word" button or use <ctr><v> ;

What is the problem :

  • Each element of the list is converted into a paragraph (<p>) instead of regular HTML unordered list tags (<ul> and <li>) ;
  • Each element contains a character and a few spaces to visually represent the list. Depending on the level, you can get :
    1. Root level : "· " ;
    2. First indentation : "o " ;
    3. Second indentation : "§ ".

What would be expected :

To have proper HTML unordered list with <ul> and <li> tags, containing only the text of the element, without any extra character like "o" or "§" neither spaces.

The issue #6662 is similar to this one but for numeric list style only.

Change History (2)

Changed 8 years ago by JPG

Attachment: html-result.png added

HTML generated after the paste operation

Changed 8 years ago by JPG

Text to copy for testing

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