Opened 13 years ago
Last modified 8 years ago
#8781 closed Bug
Problems with copy/paste HTML lists. — at Initial Version
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.6.0 |
Component: | General | Version: | 3.0 |
Keywords: | Cc: |
Description
This issue was found when reproducing #8574
- Clear editor contents and switch to source.
- Paste the below code:
<ol id="d65e23"> <li> toto <ol> <li> bibop</li> <li> tutut</li> </ol> </li> <li> tata <ol> <li> lolilop</li> <li> reir</li> </ol> </li> <li> tutu</li> <li> lolo</li> </ol>
- Switch to WYSIWYG, select whole list (E.g. CRTL+A) and copy with crtl+C
- Paste the list using PasteFromWord dialog, paste dialog or CRTL+V
Results:
Webkit - List is wrapped in ol, li, div (div - typical for webkit pasting)
Opera - Similar to Webkit but there is no div - list is wrapped into ol, li
IE9 - List isalso nested but it looks a little bit broken (See image)
IE6-8 - Result is the same as in IE9 but extra JS error is thrown
Message: Invalid argument
Line: 796
URI: /3.6.2/ckeditor/_source/plugins/selection/plugin.js
Ticket reproducible from CKE 3.0
Firefox has its onw problem described in #8754