5.13.3 • Published 3 years ago

@mentor-medier/overline-block v5.13.3

Weekly downloads
275
License
CC-BY-NC-ND-4.0
Repository
github
Last release
3 years ago

@wpmedia/overline-block

Fusion News Theme Overline block. Text usually displayed over the headline. By default will use the ANS fields Label or Web Site Section if they exist or optionally a custom text and url can be used.

Props

PropRequiredTypeDescription
customTextnostringText to use for the overline, if customUrl parameter do not exists, will be an span element
customUrlnostringIf exists, the customText will be wrapped with an anchor and this url used to link to
editablenobooleanif the content of the overline do not came from the previous customXXX params, the overline text can be flagged as editable and used on PageBuilder
storynoobjectstory object to use to extract overline values instead of GlobalContent

ANS Fields

  • globalContent.label.basic.display
  • globalContent.label.basic.url
  • globalContent.label.basic.text
  • content.websites[arcSite].website_section._id
  • content.websites[arcSite].website_section.name

Event Listening

This block does not emit any events.

Additional Considerations

This is optional. Please add an additional context that would be important to know in order to use this block.

5.13.2

3 years ago

5.13.3

3 years ago

5.11.3

3 years ago

5.11.2

3 years ago

5.10.4

3 years ago

5.10.2

3 years ago

5.10.0

3 years ago

5.9.15

3 years ago