Skip to content

Latest commit

* Added HTML ID validation logic to avoid duplicate HTML ID on the page
* Added validations for page properties dialog
* Added the workspace filter to include clientlibs
* Review comment incorporated. Moved the location of clientlibs
571416a

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Text (v2)

Text component written in HTL that provides a section of rich text.

Features

  • In-place editing
  • Rich text editor
  • Styles

Use Object

The Title component uses the com.adobe.cq.wcm.core.components.models.Text Sling model as its Use-object. The current implementation reads the following resource properties:

  1. ./text - the actual text to be rendered
  2. ./textIsRich - flag determining if the rendered text is rich or not, useful for applying the correct HTL display context
  3. ./id - defines the component HTML ID attribute.

BEM Description

BLOCK cmp-text
    ELEMENT cmp-text__paragraph

Information