Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6437

CKEditor Ignores JS Config When Expanded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.2.5
    • dialogs

      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

        Acceptance criteria

              Unassigned Unassigned
              chris.jennings Chris Jennings
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: