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

CKEditor paste from word removes superscript and subscript

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.16
    • 6.2.13
    • None
    • UI Maintenance 4
    • 1

      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.

        Acceptance criteria

          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

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

                Created:
                Updated:
                Resolved: