Skip to content
  1. Extras
  2. PageBuilder
  3. Section catalog
  4. Free
  5. Rich text

Rich text ​

A text block between other sections. The editor works like MODX richtext: paragraphs, lists, links, basic formatting.

Rich text

When richtext is enough ​

  • Familiar MODX richtext, no separate TV per paragraph
  • Drops between any sections in any order
  • HTML lands in section.data.content for Fenom output

Scenarios ​

  • Article or news post: main page body
  • Service description between hero and features
  • Legal copy, instructions, any content without custom markup

Page examples ​

Content field ​

Content lives in Content. For long structured pages, consider Structured content (Editor.js, Pro).

Similar sections ​

Block parameters ​

ParameterValue
keyrichtext
LayerFree
Categorycontent (content)
Chunkpagebuilder_richtext
Requires—

Inspector fields ​

Fill these fields in the section inspector. Field types are documented in the field types reference.

Content (content) ​

Type richtext. Required.

Site output ​

pb-richtext wrapper with HTML from content.

Section data ​

Example payload after save. Media, video, and map values may be enriched on output:

json
{
  "content": "<p>Page text with <strong>formatting</strong>.</p>"
}

Chunk template ​

Fenom chunk pagebuilder_richtext:

fenom
<section class="pb-section pb-section--richtext pb-richtext{if $cssClass} {$cssClass|escape}{/if}" data-pb-section="richtext"{if $id} id="pb-{$id|escape}"{/if}>
  <div class="pb-section__inner pb-richtext__inner">
    <div class="pb-richtext__content">
      {$content}
    </div>
  </div>
</section>

See also ​