[MGNLUI-6087] CKeditor colors, alignment, fonts and fontSizes don't appear. Created: 27/Jul/20  Updated: 04/Jan/21  Resolved: 10/Aug/20

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.2
Fix Version/s: 6.2.3

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: 622, maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Relates
relates to MGNLUI-4072 Configuration properties not working ... Closed
relates to MGNLUI-5907 RichTextField configuration file erro... Closed
relates to MGNLUI-5912 RichTextField - contentsCss in config... Closed
relates to MGNLDAM-869 Rich text field - images from DAM Closed
relates to MGNLUI-6061 Rich text field - images from DAM 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: Support
Sprint: Maintenance 19
Story Points: 5

 Description   

Colors, alignment, fonts and fontSizes don't appear tho they are declared at the configJS file.

Steps to reproduce

  1. Go to Web resources app and edit the Text and Image component dialog (/mtk/dialogs/components/textImage.yaml). Add to the RichText field the snippet
    configJsFile: /.resources/ckeditor/config-magnolia.js
    
  1. Still in Resources app, open for editing the file /ckeditor/config-magnolia.js
    definition = {
      images: false,
      lists: true,
      source: false,
      tables: true,
      colors: '00923E,F8C100,28166F',
      alignment: true,
      fonts: 'Arial/Arial,sans-serif;Times New Roman/Times New Roman,serif',
      fontSizes: '16/16px;24/24px;48/48px'
    }
    
  1. Move to Pages app, and create a Text and Image component
  2. Check no alignment, fonts or colors are shown

Expected results
Colors, alignment, fonts and fontSizes  options appear

Actual results
Colors, alignment, fonts and fontSizes don't appear

Workaround
N/A

Development notes
N/A


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