XSite
  1. XSite
  2. XSITE-55

Provide the page body in the skin as individual top level paragraphs instead of one big blob

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Currently a skin can refer the body of the processed page only as one big blob that can be inserted somewhere. For more advanced layouts it would be useful to access the individual top level paragraphs individually in a list.

      The new TopLevelBlockExtractingRule will extract all HTML block elements at top level (i.e. direct children of body) into separate elements and provide them as list of paragraphs in the skin. Although a body may contain only such block elements, some pages might add other ones or even plain text in the body. Such parts are added as own elements in a new paragraph (p) element at the proper position in the paragraph list.

        Issue Links

          Activity

          Jörg Schaible made changes -
          Field Original Value New Value
          Link This issue depends upon XSITE-49 [ XSITE-49 ]
          Hide
          Jörg Schaible added a comment -

          This advanced rule has to access the PageBuilder.

          Show
          Jörg Schaible added a comment - This advanced rule has to access the PageBuilder.
          Hide
          Jörg Schaible added a comment -

          Fixed in trunk

          Show
          Jörg Schaible added a comment - Fixed in trunk
          Jörg Schaible made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Jörg Schaible
              Reporter:
              Jörg Schaible
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: