PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-29493

System does not copy paste microsoft word formatting into CK Editor like tables, colouring inside table cells

    Details

    • Branch Version/s:
      6.2.x
    • Backported to Branch:
      Committed
    • Story Points:
      8
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      1. Log to the system.
      2. Go to control panel > Wiki.
      3. Create wiki and add wiki page.
      4. Open attached document in MicroSoft Word , Copy and Paste it in ckeditor.

      Actual Result: System does not pasting all formatting like color inside table cell to the ck editor.
      Expected Result: It should display the exact formatting.

      1. fix.png
        27 kB
      2. fix-2.png
        28 kB
      3. reproduce.png
        24 kB
      4. Wiki-CKeditor.png
        230 kB

        Activity

        Hide
        Mika Koivisto added a comment -

        Confirmed with 6.1 and 6.2.x. Using clicking paste word and then pasting to the box there shows the formatting in 6.1.1 but after clicking ok any background color, font etc is removed from the table. In 6.2.x the box to paste won't even appear so the paste doesn't even work there.

        Show
        Mika Koivisto added a comment - Confirmed with 6.1 and 6.2.x. Using clicking paste word and then pasting to the box there shows the formatting in 6.1.1 but after clicking ok any background color, font etc is removed from the table. In 6.2.x the box to paste won't even appear so the paste doesn't even work there.
        Hide
        Sergio Gonzalez added a comment -

        It seems that this is a bug in ckEditor beacause testing it in http://ckeditor.com/demo shows the same behaviour (it copies the format in the paste box but when cliking OK the format is gone)

        Show
        Sergio Gonzalez added a comment - It seems that this is a bug in ckEditor beacause testing it in http://ckeditor.com/demo shows the same behaviour (it copies the format in the paste box but when cliking OK the format is gone)
        Hide
        Chema Balsas added a comment - - edited

        For future reference and QA, we can fix this for MSWord by adding the appropriate settings on the config files. However, currently it only works for Microsoft Word and not OpenOffice since the copied contents aren't exactly alike.

        Show
        Chema Balsas added a comment - - edited For future reference and QA, we can fix this for MSWord by adding the appropriate settings on the config files. However, currently it only works for Microsoft Word and not OpenOffice since the copied contents aren't exactly alike.
        Hide
        Chema Balsas added a comment -

        Opened https://dev.ckeditor.com/ticket/11529 to track the OpenOffice issue

        Show
        Chema Balsas added a comment - Opened https://dev.ckeditor.com/ticket/11529 to track the OpenOffice issue
        Hide
        Iliyan Peychev added a comment -

        Just started reviewing :)

        Sent from GH.

        Show
        Iliyan Peychev added a comment - Just started reviewing :) Sent from GH .
        Hide
        Hong Zhao added a comment - - edited

        PASSED Manual Testing using following steps:

        1. Log to the system.
        2. Go to control panel > Wiki.
        3. Create wiki and add wiki page.
        4. Set format as "HTML".
        5. Create a table and color the inside table cells in MicroSoft Word, Copy and Paste it in ckeditor.

        Reproduced on:
        Tomcat 7.0.42 + MySQL 5.5.29 Portal master GIT ID: b241cbe7070f87b910a1c496a8354c76775e8b98.

        System does not pasting all formatting like color inside table cell to the ck editor (repeoduce.png).

        Fixed on:
        Tomcat 7.0.42 + MySQL 5.5.29 Portal master GIT ID: 9ef773a7e788f5abf2e8d6e3144b2ce2e45c3f66.

        All formatting like color inside table cell copied from MS Word can be displayed in ck editor (fix.png).

        Show
        Hong Zhao added a comment - - edited PASSED Manual Testing using following steps: 1. Log to the system. 2. Go to control panel > Wiki. 3. Create wiki and add wiki page. 4. Set format as "HTML". 5. Create a table and color the inside table cells in MicroSoft Word, Copy and Paste it in ckeditor. Reproduced on: Tomcat 7.0.42 + MySQL 5.5.29 Portal master GIT ID: b241cbe7070f87b910a1c496a8354c76775e8b98. System does not pasting all formatting like color inside table cell to the ck editor (repeoduce.png). Fixed on: Tomcat 7.0.42 + MySQL 5.5.29 Portal master GIT ID: 9ef773a7e788f5abf2e8d6e3144b2ce2e45c3f66. All formatting like color inside table cell copied from MS Word can be displayed in ck editor (fix.png).
        Hide
        Hong Zhao added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0.62 + MySQL 5.5.21 Portal ee-6.2.x EE GIT ID: 9a6fe231888747bb10f5a86f2af993c2df1cb59d.

        All formatting like color inside table cell copied from MS Word can be displayed in ckeditor.

        Show
        Hong Zhao added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0.62 + MySQL 5.5.21 Portal ee-6.2.x EE GIT ID: 9a6fe231888747bb10f5a86f2af993c2df1cb59d. All formatting like color inside table cell copied from MS Word can be displayed in ckeditor.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              7 weeks, 5 days ago

              Development

                Structure Helper Panel