Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Field
        RichText

Class CQ.form.RichText

Package:CQ.form
Class:RichText
Subclasses:TableEdit2
Extends:CQ.Ext.form.Field
Clientlib:cq.widgets
xtype:richtext

The RichText provides a form field for editing styled text information (rich text).

The RichText component currently provides the following features:

Config Options

Config Options Defined By
  allowBlank : Boolean
False to validate that the value length > 0 (defaults to true)
RichText
  allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
  disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
  enableEditTools : Boolean
Deprecated: Use rtePlugins instead
True if the editor toolbar (cut/copy/paste) is enabled (defaults to false)
RichText
  enableParagraphFormat : Boolean
Deprecated: Use rtePlugins instead
True if the format selector component is enabled (defaults to false)
RichText
  enableSourceEdit : Boolean
Deprecated: Use rtePlugins instead
Enable the switch to source edit button (defaults to false)
RichText
  enableStyle : Boolean
Deprecated: Use rtePlugins instead
True if the style selector component is enabled (defaults to false)
RichText
  enableSubSuperScript : Boolean
Deprecated: Use rtePlugins instead.
True if sub/superscript is enabled (defaults to false).
RichText
  fieldClass : String
The default CSS class for the field (defaults to 'x-form-field')
Field
  focusClass : String
The CSS class to use when the field receives focus (defaults to 'x-form-focus')
Field
  htmlRules : CUI.rte.HtmlRules
This object defines how to create/process HTML. Defaults to null (uses default HTML rules). Added in CQ 5.3.
RichText
  invalidClass : String
The CSS class to use when marking a field invalid (defaults to 'x-form-invalid')
Field
  name : String
The name of the form field that is used for submitting the text; defaults to "text".
RichText
  pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent
  pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent
  validateOnBlur : Boolean
Whether the field should validate when it loses focus (defaults to true).
Field
  validationDelay : Number
The length of time in milliseconds after user input begins until validation is initiated (defaults to 250)
Field
  validationEvent : String/Boolean
The event that should initiate field validation. Set to false to disable automatic validation (defaults to 'keyup').
Field
  value : Mixed
A value to initialize this field with (defaults to undefined).
Field
  x : Number
The local x (left) coordinate for this component if contained within a positioning container.
BoxComponent
  y : Number
The local y (top) coordinate for this component if contained within a positioning container.
BoxComponent

Public Properties

Property Defined By
  dataPath : String
Content path of the currently edited text Added in CQ 5.3.
RichText
  disabled : Boolean
True if this component is disabled. Read-only.
Component
  hidden : Boolean
True if this component is hidden. Read-only.
Component
  initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
  refOwner : CQ.Ext.Container The
Component
  rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

Method Defined By

Public Events

Event Defined By