Text component written in HTL that provides a section of rich text.
- In-place editing
- Rich text editor
- Styles
- Allows replacing this component with other component (as mentioned below).
The Title component uses the com.adobe.cq.forms.core.components.models.form
Sling model as its Use-object. The current implementation reads
the following resource properties:
./name
- defines the name of the field, which will be submitted with the form data./value
- the actual text to be rendered is stored here./textIsRich
- flag determining if the rendered text is rich or not, useful for applying the correct HTL display context./id
- defines the component HTML ID attribute./dataRef
- data model reference specified./fieldType
- field type for adaptive form component
BLOCK cmp-adaptiveform-text
ELEMENT cmp-adaptiveform-text__widget
The component provides a core.forms.components.text.v1.runtime
client library category that contains a JavaScript
component. It should be added to a relevant site client library using the embed
property.
The following attributes must be added for the initialization of the text component in the form view:
data-cmp-is="adaptiveFormText"
data-cmp-adaptiveformcontainer-path="${formstructparser.formContainerPath}"
We support replace feature that allows replacing Reset Button component to any of the below components:
- Image
- Title
- Vendor: Adobe
- Version: v1
- Compatibility: Cloud
- Status: production-ready