Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6976

CKEditor paste from word removes superscript and subscript

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.16
    • 6.2.13
    • None

    Description

      Steps to reproduce

      • Open Microsoft Word and create a word document with superscript and subscript. See example.docx attached.
        example.docx
      • Copy the text from this word document.
      • Go to Tours app and edit a tour
      • Once in edit mode, edit the body of the tour (the rich text field). Paste in the text from word. See the superscript and subscript are not respected.

      Expected results

      The superscript and subscript should be respected.
      custom-ckeditor-config.js

      Actual results

      The superscript and subscript are not respected.

      Workaround

      Using a custom-ckeditor-config.js like the one attached fixed the issue for me.

      Checklists

        Acceptance criteria

        Attachments

          1. custom-ckeditor-config.js
            4 kB
          2. example.docx
            12 kB
          3. fromWord.png
            fromWord.png
            66 kB
          4. Screen Shot 2021-12-07 at 2.23.55 PM.png
            Screen Shot 2021-12-07 at 2.23.55 PM.png
            134 kB

          Issue Links

            Activity

              People

                thien.quach Quach Hao Thien
                lstaniorski Leah Staniorski
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD