Skip to main content

Examples

Page-wide commentary

Reporting-period commentary

Commentary per period and input

Attributes

string
required
Unique identifier for the commentary component
string
default:"page"
What the commentary is kept for: page (one for the whole page), period (one per reporting period; requires workflow.period in the frontmatter), an input id, or a list such as ["period", "fund"] (one per combination of selected values). Inputs must be single-select: dropdown, button_group, input_tabs, toggle or period_selector.
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