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

As a developer, want Section to be configurable either section or div tag for Content Page

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.2.10.1 DXP SP1
    • Fix Version/s: None
    • Component/s: WCM > Page Editor
    • Labels:
      None

      Description

      Summary: 

      In Section Builder, We want the ability to configure the padding top, left, right and bottom side for each breakpoints.

      Steps:

      1. Login as Administrator (Username : test@liferay.com, Password : test)
      2. Open Site Builder -> Pages
      3. Click Add button
      4. Create new Content Page, populate page name (arbital), and click Add button
      5. See the right bar where there are several buttons, click Section Builder
      6. Once Section Builder is shown, Click Basic Components
      7. Select Button component, then Drag it to the Page
      8. Open Layouts panel, select Single Column Layout, and Drag it to the Page
      9. Again, select Button component, then Drag it inside the Single Column Layout

      Actual result: 

      Both Button component is wrapped by <section> tag.

      Expected result: 

      As a developer, wants to have the Options choose if it's <section> or <div>.

      Use Case for Improvement: 

      From Semantic Web standpoint, a section need to have a title. However, it's not always the case to build a page. For example, a component of customer logos for a corporate site. A developer may just want to wrap the markup with div tags, not section tag as it does not need a title.

      I do not fully understand the philosophy of Content Page correctly. This suggestion may be irreverent. If that is the case, please let me know what is the intended design (best practice) for that case.

        Attachments

          Activity

            People

            • Assignee:
              pablo.molina Pablo Molina
              Reporter:
              johanes.rulistianto Johanes Christian Rulistianto
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package