[MGNLUI-7634] Richtext breaks HTML tags when editing a component Created: 17/Nov/22 Updated: 08/Dec/23 Resolved: 12/Jun/23 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.26 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Carlos Cantalapiedra | Assignee: | Quach Hao Thien |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | VN-Analysis, dx-core-6.3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 6.5h | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Template: | |||||
| Acceptance criteria: |
Empty
|
||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||
| Date of First Response: | |||||
| Epic Link: | CKEditor 5 | ||||
| Team: | |||||
| Work Started: | |||||
| Description |
| Comments |
| Comment by Roman Kovařík [ 18/Nov/22 ] |
|
Just a guess:
Would be great if somebody would just confirm if the above is true and advise customer, how to enable these tags in the config file. |
| Comment by Carlos Cantalapiedra [ 22/Nov/22 ] |
|
Even including the format_tags the issue still happens. Wondering why <strong> , <br> and other tags are respected but the headings are not |
| Comment by Roman Kovařík [ 23/Nov/22 ] |
|
You can check the config https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/browse/magnolia-ui-framework-jcr/src/main/resources/mgnl-resources/ckeditor/config-magnolia.js#88. |
| Comment by Quach Hao Thien [ 22/May/23 ] |
|
Hi ccantalapiedra, It's quite tricky to understand, but please bear with it
config.toolbar_Magnolia = [
{ name: "basicstyles", items: [ "Bold", "Italic", "Underline", "Strike", "Subscript", "Superscript", "SpecialChar" ] },
{ name: "paragraph", items: [ "NumberedList", "BulletedList", "JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyBlock", "Image", "Table" ] },
{ name: "links", items: [ "Link", "InternalLink", "DamLink", "Unlink" ] },
{ name: "styles", items: [ "Font", "FontSize", "TextColor" ] },
{ name: "clipboard", items: [ "Cut", "Copy", "Paste", "PasteText", "PasteFromWord" ] },
{ name: "undo", items: [ "Undo", "Redo" ] },
{ name: "tools", items: [ "Source" ] },
{ name: "view", items: [ "Expand" ] },
{ name: "styles", items: ["Format"] }
];
|
| Comment by Dominik Maslanka [ 12/Jun/23 ] |
|
We're closing this ticket as our team has thoroughly investigated the matter and taken the necessary actions to resolve it. We appreciate your patience throughout the process. However, we want to emphasize that our support continues. Should you encounter any new findings or face any related issues, we encourage you to contact us again by reopening this ticket or creating a new one. This will help us maintain a detailed record of your concerns and ensure we provide you with the best possible assistance. |