Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.13
-
None
-
Empty show more show less
-
Yes
-
UI Maintenance 4
-
3
Description
Steps to reproduce
- Open tours.yaml and add the following under the properties node:
body:
source:true
(see toursappfile screenshot)
- Go to Tours app and edit a tour
- Once in edit mode, edit the body of the tour (the rich text field). Click the Source button in the toolbar. Insert the following:
<html> <body> <h1>The sub and sup elements</h1> <p>This text contains <sub>subscript</sub> text. </p> <p>This text contains <sup>superscript</sup> text. </p> </body> </html>
- Click Source button again. See the superscript and subscript tags are not respected. See script2.
- Click Source button again. See the superscript and subscript tags have been removed. See script3.
Expected results
The superscript and subscript should be respected. See script4 and script5.
Actual results
The superscript and subscript tags are not respected and are removed. See script2 and script3.
Workaround
Using a custom-ckeditor-config.js like the one attached fixed the issue for me.
Checklists
Acceptance criteria
Attachments
Issue Links
- is causing
-
MGNLUI-7256 Strikethrough can't be used in richTextField
-
- Closed
-
- relates to
-
MGNLUI-6976 CKEditor paste from word removes superscript and subscript
-
- Closed
-
-
MGNLUI-6885 Upgrade to CKEditor 5
-
- Open
-
-
MGNLUI-6981 configJsFile path issue
-
- Closed
-