Skip to content

Rich Text Section

This content is for v1.0. Switch to the latest version for up-to-date documentation.

The Rich Text Section provides a full-featured rich text editor for formatted content. With formatting options, text alignment, and image support, it’s perfect for creating detailed content like articles, blog posts, or comprehensive information pages.



Example of Rich Text Section
Example of Rich Text Section

  • Type: Boolean
  • Required: No (Default: active)
  • Purpose: Controls whether the rich text section is displayed on the website.
    Disable this field if the content should be prepared but not yet visible.
  • Type: Array
  • Required: No
  • Purpose: Array of block elements and media
  • Type: Block
  • Purpose: Standard text blocks with formatting options
  • Available Formatting:
    • Strong (strong) – Bold text
    • Emphasis (em) – Italic text
    • Text Alignment:
      • Left – Left-aligned
      • Center – Center-aligned
      • Right – Right-aligned
  • Type: Image
  • Purpose: Images embedded within the content
  • Options: Hotspot enabled
  • Fields:
    • Alternative Text (String, required) – Important for accessibility and SEO
    • Caption (String, optional) – Optional image caption
    • Caption Link (URL, optional) – Optional URL that the caption can link to (e.g. a source reference or further information)
  • Type: Object
  • Purpose: Embed single videos within the text
  • Fields:
    • Video File (videoFile, File, optional) – Uploaded video file (video/*)
    • Video URL (Alternative) (videoUrl, URL, optional) – Direct video URL as an alternative to upload (e.g. CDN link)
    • Poster Image (poster, Image, optional) – Preview image shown before playback (with hotspot support)
    • Caption (caption, String, optional) – Optional description or title of the video
    • Caption Link (captionLink, URL, optional) – Optional link for further information or source references
  • Type: Object
  • Purpose: Embed an image slider within the rich text content
  • Structure:
    • imageSlider (imageSlider, type: imageSliderSectionTwo) – Reference to the predefined image slider type with multiple slides
  • Note: The actual slider settings (e.g. slides, images, captions) are managed in the linked imageSliderSectionTwo schema.

  • Content:
    1. Text Block: Welcome to our company (Formatting: Strong, Center)
    2. Image:
      • Image: Modern office building
      • Alt Text: Modern office building with sustainable features
      • Caption: Our company offers modern services with sustainable practices
    3. Text Block: We offer professional services for all your needs. Our experienced team members are here to help you achieve your goals. (Formatting: Left)
    4. Text Block: Our advantages: (Formatting: Strong)
    5. Text Block: - Modern solutions\n- Flexible scheduling\n- Experienced team\n- Proven track record (Formatting: Left)

  • Structure: Use Strong formatting for headings within the text
  • Images: Always fill in alt text for accessibility and SEO
  • Text alignment: Use center alignment sparingly, mainly for headings
  • Readability: Break long text blocks into multiple paragraphs
  • Image captions: Use captions to provide additional context
  • Formatting: Use consistent formatting for better readability

  • Flexible structure: Combination of text and images in any order
  • Rich text editor: Full editor with formatting options
  • Text alignment: Inline alignment as mark/decorator
  • Image support: Images with hotspot, alt text, caption, and optional caption link
  • Video support: Embed videos via file upload or external URL, including poster image and optional caption
  • Image slider support: Integrate an image slider (imageSliderSectionTwo) directly in the flowing text
  • Accessibility: Alt text for images is important for screen readers
  • Full formatting: Support for bold, italic, and alignment options

  • Pages (page)
    General content pages
  • Articles (article)
    As main content field
  • Legal Pages (legalPage)
    As part of content array
  • Authors (author)
    For biographies

  • Content uses block-based structure for flexible composition
  • Images support hotspot editing for better cropping
  • Videos can be embedded either as a file (file) or via direct URL (url)
  • Video posters are managed as an image field with hotspot support
  • Text alignment is applied as inline decorators
  • Alt text is required for accessibility compliance
  • The section supports full rich text formatting capabilities

FeatureRich Text SectionText With Media SectionAccordion Section
Headline FieldNoYesYes
Description FieldNoYesYes
Background ColorNoYesYes
Content StructureFlexible arrayStructured items (1-10)Structured items
Text EditorYes (full)Yes (per item)Yes (per item)
FormattingYes (Strong, Em)Yes (via richTextSection)Yes (via richTextSection)
Text AlignmentYes (Left/Center/Right)NoNo
ImagesYes (inline)Yes (structured)No
Media TypesImages/Video/Image SliderImage/Gallery/Video/SliderNo
Layout OptionsNoYes (3 types)No
IconsNoNoYes (Lucide icons)
Expandable ItemsNoNoYes
UsageFlowing textText-media combinationsExpandable Q&A areas