Reusable Paragraph
Generates a reusable paragraph structure. This will generate another file and return referenced a UUID so the content can be referenced in multiple places.
Supports nested
Typedefinitions.
Options
type: The paragraph type to add to the output. uuid: A matching field in the childrenthat will be used as the UUID.
Usage
name: call_to_action_video
type: reusable_paragraph
selector: div.content
options:
  type: paragraph_library
  uuid: uuid
children:
  -
    field: uuid
    type: uuid
    selector: ./div[@class="feat-img-container"]/img/@alt
  -
    field: field_paragraph_title
    type: text
    selector: ./div[@class='m-h']/h3
    options:
      allow_null: TRUE