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

Cannot edit components in footer for FTL template

XMLWordPrintable

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

      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

        Acceptance criteria

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

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD