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

Unable to use the latest version of CKEditor

    Details

      Description

      Note, this is a 62x-only fix since we removed the availability of multiple CKEditor versions.

      Description: When attempting to use the property editor.ckeditor.version=latest, there is no difference in .jsp files loaded for CKEditor. This is because we are attempting to replace unescaped HTML in a possible escaped string.

      Steps to reproduce:

      1. Start 6.2.x
      2. Navigate to Admin > Content > Web Content
      3. Right-click on the CKEditor form and select "Inspect"
      4. Do a word-search for "/ckeditor/"
      5. Verify it is there
      6. Shutdown the portal and add "editor.ckeditor.version=latest" to portal-ext.properties
      7. Navigate to Admin > Content > Web Content
      8. Right-click on the CKEditor form and select "Inspect"
      9. Do a word-search for "/ckeditor_latest/"

      Expected Results: "/ckeditor_latest/" is found, since we are using the 'latest' ckeditor files.
      Actual Results: "/ckeditor/" is used instead, since the 'latest' version is not being used.

      Reproduced in 62x: 824de1dd96c48cc885421b59221534d72b4068eb

      Not Reproduced in Master/70x: The configuration "editor.ckeditor.version=latest no longer exists

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao
              Reporter:
              christopher.kian Christopher Kian
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 2 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE