Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-71856

CKEditor toolbar icons are displaying incorrectly in ckeditor, ckeditor_bbcode and ckeditor_creole modes

    Details

      Description

      Issue
      Liferay permits setting ckeditor, ckeditor_bbcode and ckeditor_creole as the primary editor for several WYSIWYG editors such as editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl. When editing in either of the two editor variants, the toolbars display is broken. The editor displays broken toolbar buttons. The original ckeditor does not exhibit all of the issues that bbcode and creole do, except for the two Option+0 buttons in the "Source" section.

      Steps to Reproduce

      1. Set editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor_bbcode or editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor_creole in portal-ext.properties
      2. Start up Liferay
      3. Create a new DDL
      4. Attach data definition with an HTML box
      5. Create a new entry

      Actual Results
      If ckeditor_bbcode or ckeditor_creole is set, we will see a bunch of icons with "Option+0" next to Help, Image, Audio, Video, Link, Unlink, and Code.

      If ckeditor is set, we will see "Option+0" in the Source section.

      Expected Results
      The icons are rendered properly in the toolbar.

      Reproduced in
      DXP DE-12
      Master 18acf8c06ee84d5d1e6df83a287012a546cd124a
      Branch f8c21b3e834c3120dc34af0a3bde39e44cdca9f4

        Attachments

        1. ckeditor-error.png
          ckeditor-error.png
          115 kB
        2. ckeditor-orig.png
          ckeditor-orig.png
          73 kB
        3. fixed.png
          fixed.png
          17 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 8 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP19
                  7.0.3 CE GA4
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.1.X
                  Master