Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-484

Page Editor: When a component in an area is selected, the editbar of the parent area should be properly styled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 5.0
    • design, page editor

    Description

      Example:

      • Open demo project HOME in page editor.
      • Scroll down to the teasers under the stage.
      • Select the LINK LIST area under the Standard Article.
        > The "INTERNAL PAGE TEASER" editbar remains grey.

      See linked ticket 205 for description of how the parent of the selected element should be displayed.

      When the selected element is a component, and the parent is an area, then the css class "childFocus" is applied to the parent.
      A css class such as "childFocus" should be applied to the parent also in the case that the selected item is an area, and the parent is a component.

      In CSS there is no way to select the parent of an element, therefore in code a css element must be applied.

      Probably the solution will be to make FocusModelImpl.setComponentSelection() more like FocusModelImpl.setAreaSelection()

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD