Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-327

Cannot edit components in footer for FTL template

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Neutral
    • None
    • 6.2.8
    • None
    • None

    Description

      The mgnlEditorBar in the Pages app is no longer clearing floats in its styles and as such overlaps other elements above it with a transparent div making them un-clickable.

      The issue can be corrected with:

      .mgnlEditor.mgnlPlaceholder {
          clear: both;
      }
      

      Reproduce

      1. open new pages app
      2. edit ftl-sample-site
      3. Attempt to edit footer contents

      Expected
      Should be focusable

      Actual
      Areas and components are not focusable

      Workaround
      Remove the script from the configuration:

        footer:
          enabled: true
          renderType: freemarker
          # templateScript: /samples/templates/pages/ftl/areas/footer.ftl
          type: list
          availableComponents:
            text:
              id: samples:components/ftl/text
            linkList:
              id: samples:components/ftl/linkList
          inheritance:
            components: all
            enabled: true
      

      Development notes

      This is not happening in footer of, say, tour templates.

      Removing the float left enabled the editing

      Checklists

        Acceptance criteria

        Attachments

          1. float.png
            float.png
            410 kB
          2. mgnlEditorBar.png
            mgnlEditorBar.png
            105 kB

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sdemocko Šimon Demočko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD