[MGNLUI-4072] Configuration properties not working in rich-text-editor Created: 09/Nov/16  Updated: 27/Jul/20  Resolved: 06/May/20

Status: Closed
Project: Magnolia UI
Component/s: forms
Affects Version/s: 6.2
Fix Version/s: 6.2.1

Type: Bug Priority: Neutral
Reporter: Marvin Kerkhoff Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-04-14 at 12.14.53.png    
Issue Links:
Relates
relates to MGNLUI-5907 RichTextField configuration file erro... Closed
relates to MGNLUI-6087 CKeditor colors, alignment, fonts and... Closed
causality
relation
is related to MGNLUI-5844 CkEditor - Maximize function works bu... Closed
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
Release notes required:
Yes
Date of First Response:
Epic Link: Dialog UX improvements
Sprint: Maintenance 5, Maintenance 6
Story Points: 5

 Description   

After upgrading to Magnolia 6.2 alignment, colors, fonts and fontSizes icons don't display in the toolbar of the Rich Text Field (both Magnolia 5 UI and Magnolia 6 UI framework)

See https://documentation.magnolia-cms.com/display/DOCS/Rich+text+field. Seems to be not working because of a javascript error.

Dev notes:
Potentially caused by:

  • Config not picked up
  • 6.2 uses another integration of CKeditor with Vaadin - check custom config support in Vaadin 8 CKeditor wrapper; make sure all path-bindings still work, check vs. previous implementation
  • CKeditor plugin update (though it works on 6.1.5; CKeditor update was done for 6.1.3 already)

https://jira.magnolia-cms.com/browse/MGNLUI-4072?focusedCommentId=216182&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-216182



 Comments   
Comment by Richard Gange [ 09/Apr/20 ]

I'm repurposing this ticket. It's not just the color setting. It's also been reported that the following options are not working:

After upgrading to Magnolia 6.2 alignment, colors, fonts and fontSizes icons don't display in the toolbar of the Rich Text Field (both Magnolia 5 UI and Magnolia 6 UI framework)

Someone needs to test all the settings work. See Rich text field. It seems that most are now broken.

Comment by Richard Gange [ 09/Apr/20 ]

Perhaps including ui framework compatibility would fix this issue for the time being:

<!-- https://mvnrepository.com/artifact/info.magnolia.ui/magnolia-ui-framework-compatibility -->
<dependency>
    <groupId>info.magnolia.ui</groupId>
    <artifactId>magnolia-ui-framework-compatibility</artifactId>
    <version>6.1.4</version>
</dependency>
Comment by Richard Gange [ 14/Apr/20 ]

marvink2 would it be possible to get a screenshot of the Javascript error you are seeing in the browser? Also, related browser info might be useful. Thanks!

Comment by Marvin Kerkhoff [ 14/Apr/20 ]

Hi Rich, i would need to setup a testing environment for this as well. We haven't walk through this problem and found workarounds through the style settings.

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