Changes between Initial Version and Version 1 of Ticket #14923, comment 1


Ignore:
Timestamp:
Oct 21, 2016, 4:16:11 PM (8 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14923, comment 1

    initial v1  
    1 I could not reproduce this with old Paste From Word (PFW) filter but only with new one. In the old PFW I only got clean list without any extra styles.
     1Below are my results of pasting attached test file into CKEditor with old and new PFW filter.
     2For my tests I have also used below editor settings:
     3{{{
     4var editor = CKEDITOR.replace( 'editor1', {
     5        extraAllowedContent : 'ul[*]{*}(*);li[*]{*}(*);ol[*]{*}(*)',
     6        pasteFromWordRemoveFontStyles : false,
     7        pasteFromWordRemoveStyles : false
     8});
     9}}}
    210
    3 Whether you have ACF enabled or not, in new PFW, font-size is not retained for first element.
     11== Results: ==
     12**Chrome:** [[BR]]
     13**Old PFW:**
     14 - For the default list clean tags get pasted without any extra styles.
     15 - For the list with size 14 all elements have {{{font-size:14.0pt}}} retained. These are bugs but will be fixed by new PFW filter.
     16**New PFW:**
     17 - For the default list there is no font-size but there are extra styles and classes.
     18 - For the list with size 14 all elements have {{{font-size:14.0pt}}} retained (plus other styles and classes).[[BR]]
     19
     20----
     21
     22**Firefox:** [[BR]]
     23**Old PFW:**
     24 - For the default list, the list is pasted with no values.
     25 - For the list with size 14 only the last element {{{font-size:14.0pt}}} retained. First two are empty.
     26**New PFW:**
     27 - For the default list there is no font-size but there are extra styles and classes.
     28 - For the list with size 14 all elements have {{{font-size:14.0pt}}} retained (plus other styles and classes). Result is the same as in Chrome.
     29
     30----
     31
     32**IE11:** [[BR]]
     33**Old PFW:**
     34 - For the default list the span with {{{font-size:11.0pt}}} is not retained for first element.
     35 - For the list with size 14 the first element has size {{{font-size:14.0pt}}} retained but other two have {{{font-size:11.0pt}}}.
     36 - Additionally for first element in both cases these styles are missing {{{color: rgb(0, 0, 0); font-family: Calibri,sans-serif;}}} thus first item is looking different in wysiwyg mode.
     37**New PFW:**
     38 - For the default list the {{{font-size:11.0pt}}} is not retained for first element.
     39 - For the list with size 14 the all elements have size {{{font-size:14.0pt}}} retained.
     40 - Additionally for first element in both cases these spans are missing {{{"><span style="color:rgb(0, 0, 0)"><span style="font-family:calibri,sans-serif">}}} thus itfirst item is looking different in wysiwyg mode.
     41
     42
     43----
     44
     45**Edge:** [[BR]]
     46List is pasted as a set of paragraphs for new and old PFW.
     47
     48----
     49
     50To sum up - the test case is about IE11 and touches both filters new and old one. Additionally Edge no longer returns list like IE11 but standard set of paragraphs like other modern browsers.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy