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

Code inside <liferay-util:html-top> is not added to the header if the file containing it is not used at initial page load

    Details

      Description

      Code inside <liferay-util:html-top> is not added to the header if the file containing it is not used at initial page load.

      Steps to Reproduce

      1. Navigate to Control Panel > Content > Documents and Media
      2. Add a new document type with an HTML field
      3. Add a document using the "Add Multiple Documents" menu
      4. Change the document type to the one created in step 2

      Expected Result: CKEditor is loaded for the HTML field
      Actual Result: No editor is loaded and an error shows in the browser console "ReferenceError: CKEDITOR is not defined"

        Attachments

          Activity

            People

            Assignee:
            raven.song Raven Song
            Reporter:
            dustin.ryerson Dustin Ryerson (Inactive)
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 13 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP30
                7.0.4 CE GA5
                7.0.X
                7.1.X
                Master