Body Content Component: Difference between revisions
No edit summary |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
The | {{DrupalBack}} | ||
The '''Body Content''' component allows you to place formatted body text in any page region, which would normally be reserved for the page's '''Body''' field or a more complex component. | |||
== Elements == | == Elements == | ||
| Line 7: | Line 8: | ||
== Examples == | == Examples == | ||
{{ | {{Callout|type=tip|title=Interactive Example|content=The preview below shows the Body Content component using its default configuration. | ||
To experiment with different content and formatting, open the interactive component playground. | |||
'''[https://toolkit.swarthmore.edu/?path=/story/swarthmore-theme-components-body-content Open Component Playground]'''}} | |||
{{StorybookComponent|id=swarthmore-theme-components-body-content|height=750}} | |||
== Step-by-step Instructions == | |||
# Provide the '''Body''' content that will be displayed as formatted text on the page. | |||
[[Category:Drupal]] | |||
Latest revision as of 13:09, 10 July 2026
The Body Content component allows you to place formatted body text in any page region, which would normally be reserved for the page's Body field or a more complex component.
Elements
- Body (required)
Examples
Interactive Example
The preview below shows the Body Content component using its default configuration.
To experiment with different content and formatting, open the interactive component playground.
Open Component Playground
Step-by-step Instructions
- Provide the Body content that will be displayed as formatted text on the page.