CMS Paragraph #OOTB

The CMS paragraph component allows content blocks to be served from the CMS. These blocks can contain HTML.

Not to be confused with the <p> html element tag.

With HTML formatting

  • This is formatted text
  • 
    <cms:component>
      {  
        "visible":true,
        "type":"CMSParagraphComponent",
        "content":"This is formatted text"
      }
    </cms:component>
    
    <!-- Output: -->
    <div class="content">This is <strong>formatted</strong> text</div>
                  

Without HMTL formatting

  • This is unformatted text
  • 
    <cms:component>
      {  
        "visible":true,
        "type":"CMSParagraphComponent",
        "content":"This is unformatted text"
      }
    </cms:component>
    
    <!-- Output: -->
    <div class="content">This is unformatted text</div>