[MGNLUI-6976] CKEditor paste from word removes superscript and subscript Created: 07/Dec/21  Updated: 30/Aug/22  Resolved: 29/Dec/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.13
Fix Version/s: 6.2.16

Type: Bug Priority: Neutral
Reporter: Leah Staniorski Assignee: Quach Hao Thien
Resolution: Fixed Votes: 0
Labels: VN-Testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2021-12-07 at 2.23.55 PM.png     File custom-ckeditor-config.js     Microsoft Word example.docx     PNG File fromWord.png    
Issue Links:
Relates
relates to MGNLUI-6885 Upgrade to CKEditor 5 Open
relates to MGNLUI-6975 CKEditor removes superscript and subs... Closed
relates to MGNLUI-6981 configJsFile path issue Closed
dependency
relation
is related to MGNLUI-5015 Keep CKEditor notifications on top of... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Sprint: UI Maintenance 4
Story Points: 1

 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.



 Comments   
Comment by Roman Kovařík [ 10/Dec/21 ]

Estimated: test if fixed by MGNLUI-6975

Comment by Quach Hao Thien [ 23/Dec/21 ]

fixed in MGNLUI-6975

Generated at Mon Feb 12 09:41:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.