[MGNLUI-6437] CKEditor Ignores JS Config When Expanded Created: 03/Dec/20  Updated: 18/Aug/21

Status: Accepted
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 6.2.5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File richtext_normal.png     PNG File richtext_wide.png    
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

 Description   

Steps to reproduce

  1.  Install the light module: https://git.magnolia-cms.com/users/chris.jennings/repos/custom-ckedit-special-chars/browse
  2.  Create an example page and an example component.
  3. Edit the text in the component. The config.js file states that there should be no font edit controls, no source button, no text justification button and more. As a result, these controls are hidden. (See: richtext_normal.png)
  4. Use the expand button to increase the size of the edit panel. The removed controls are all shown, ignoring the specified configuration. (See: richtext_wide.png)

Expected results

Unless my understanding of the config file's definition object is incorrect, the items disabled should not be shown in either view. In wide mode, the source button (and other controls) will not appear.

Actual results

The 'removed' controls are shown.

Workaround

None that I can find.

Development notes


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