Layout Builder Kit
  • Layout Builder Kit
  • Setting Up Layout Builder
  • Book Navigation
  • Icon Text
  • Image
  • Rich Text
  • Tab
  • Video
  • Paragraphs has an Ecosystem, Too
  • Known Issues
  • Developer Documentation
    • Storing Component Configuration
Powered by GitBook
On this page

Was this helpful?

Rich Text

PreviousImageNextTab

Last updated 5 years ago

Was this helpful?

The rich text component currently acts in the same way as a standard Drupal Custom Block. However, since it is subclassed from LBKBaseComponent, it will inherit the multilingual logic when we create it. To add a Rich Text component, be sure to for a content type.

Searchability: Text included in this component is not added to the Drupal search index (though it might be possible with some work). You will need an external search engine for this text to be searchable.

Instructions

  1. While editing a layout, click Add Block. The Choose Block pane will appear.

  2. From the Layout Builder section, click Rich Text (LBK):

  3. Provide the title and rich text to display. Change the text format to use, if desired, and click Add Block.

  4. The component appears on the layout:

Be sure to click Save Layout or your changes won't be saved and won't be visible to visitors.

turn on Layout Builder