Skip to main content

Examples

Page-wide commentary

Reporting-period commentary

Attributes

string
required
Unique identifier for the commentary component
string
default:"page"
Save commentary for the whole page (page) or the selected reporting period (period). Period scope requires workflow.period in the page frontmatter.Allowed values:
  • page
  • period
string
Placeholder text to show when the commentary is empty
string
Additional CSS classes to apply to the component
array
Emails of allowed commentary editors
string
Title to display above the commentary
string
default:"print"
When to hide the edit metadataAllowed values:
  • always
  • never
  • print
string
default:"normal"
Style of the commentaryAllowed values:
  • quote
  • normal
number
Set the width of this component (in percent) relative to the page width