Text

The Text component is a simple component that allows editors to enter formatted content using a rich text field.

Preview

Fields

  • text (optional) - A rich text field supporting basic formatting.

Behavior

  • If text is provided, it is rendered with minimal default styling.

  • If the field is left empty, the component doesn’t render anything on the page.

Creating the component

To create this component in your project, run:

npm run mgnl -- create-component Text -p text
This command adds a local copy of the component to your project. You can fully customize it afterward.
Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Magnolia CLI docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules