Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.3.0, 6.2.20
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Nucleus 14
-
2
Description
Steps to reproduce:
- Enable source=true for a richTextField
- Open this richTextField
- You can see that Strikethrough is not available in the toolbar.
- Switch to the Source mode
- Insert <s>something</s>
- Switch back from Source mode
Expected result
I can see the text with strikethrough.
Actual result
The s tag is removed by CKEditor because Strikethrough is not allowed from the toolbar.
Workaround
- By hotfixing the default magnolia config (Magnolia OnPrem) or providing a custom config (Cloud) from your light module:
- Replace "Strikethrough" with "Strike"
- Replace source: false, with source: true,
$type: richTextField configJsFile: http://localhost:8080/.resources/ckeditor/config-magnolia.js validators: {} # Only if you trust your editors!
- Clear your browser cache.
- Open the dialog with richTextField again.
- You might need to adjust other settings as now the config is loaded only from this file instead of from the richTextField properties.
Checklists
Acceptance criteria
Attachments
Issue Links
- caused by
-
MGNLUI-6975 CKEditor removes superscript and subscript from Source mode
-
- Closed
-
- links to
1.
|
Provide PRs |
|
Completed | Sang Ngo Huu |
|
|||||||
2.
|
Code review |
|
Completed | Quach Hao Thien | ||||||||
3.
|
Pre-int QA |
|
Completed | Jaromir Sarf | ||||||||
4.
|
QA |
|
Completed | Roman Kovařík | ||||||||
5.
|
Integrate |
|
Completed | Sang Ngo Huu | ||||||||
6.
|
Unit tests for validator config changes |
|
Completed | Antonín Juran | ||||||||
7.
|
Rename Strikethrough to Strike item in config-magnolia.js |
|
Closed | Antonín Juran | ||||||||
8.
|
Rv/piQA for subtasks MGNLUI-7354 and MGNLUI-7355 |
|
Closed | Jaromir Sarf | ||||||||
9.
|
Integrate PRs for subtasks MGNLUI-7354 and MGNLUI-7355 |
|
Closed | Antonín Juran | ||||||||
10.
|
Final QA |
|
Completed | Quach Hao Thien |