Jump to content

Body Content Component: Difference between revisions

From Swarthmore Knowledge Base
Imported from Confluence
 
Kwhiteb1 (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The '''''Body Content''''' component allows the user to place formatted text in any page region, which is normally only reserved for the page’s '''''Body '''''field or a more complex component.
{{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 ==


<!-- Unsupported Confluence macro: aura-html -->
{{Callout|type=tip|title=Interactive Example|content=The preview below shows the Body Content component using its default configuration.


== Step-by-step Instructions ==
To experiment with different content and formatting, open the interactive component playground.


# Provide the '''''Body Content''''' that will be presented as formatted text on the page.
'''[https://toolkit.swarthmore.edu/?path=/story/swarthmore-theme-components-body-content Open Component Playground]'''}}


{{StorybookComponent|id=swarthmore-theme-components-body-content|height=750}}


[[Category:Drupal]]
== Step-by-step Instructions ==


# Provide the '''Body''' content that will be displayed as formatted text on the page.


<!-- Imported from Confluence page id=175931407 (https://swatkb.atlassian.net/wiki/spaces/DRUP/pages/175931407/Body+Content+Component) -->
[[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

  1. 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

  1. Provide the Body content that will be displayed as formatted text on the page.