Properties Methods Events Config Options Direct Link

Class CQ.wcm.EditBase

Package:CQ.wcm
Class:EditBase
Extends:Object
Clientlib:cq.widgets
A set of common functions for edit components. EditBase should not be instantiated directly.

Config Options

Config Options Defined By
  containerClass : String
CSS class attached to the container div (default is "section").
EditBase
  copyText : String
The text for the default copy button.
EditBase
  deleteText : String
The text for the default delete button.
EditBase
  dialog : CQ.Dialog/Object/String
The dialog, the dialog config or URL to retrieve the dialog config from.
EditBase
  editText : String
The text for the default edit button.
EditBase
  element : CQ.Ext.Element/HTMLElement/String
The HTML element or ID of the element to anchor the edit component to.
EditBase
  inplaceEditing : Object
Base configuration for inplace editing; may be null if inplace editing is not available for the component
EditBase
  insertBehavior : String
The behavior of the edit component when inserting new content.
EditBase
  insertText : String
The text for the default insert button.
EditBase
  isDropTarget : Boolean
True to define the edit component as a drop target (default is true).
EditBase
  orderable : Boolean
True to define the edit component as orderable, ie it can be dragged and dropped (default is true).
EditBase
  pasteText : String
The text for the default paste button.
EditBase
  path : String
The content path for the edit component.
EditBase
  referenceText : String
The text for the default reference button.
EditBase

Public Properties

Property Defined By
  EditBase.DD_GROUP_ASSET : String
<static> Constant for edit component drag and drop media group.
EditBase
  EditBase.DD_GROUP_COMPONENT : String
<static> Constant for edit component drag and drop group.
EditBase
  EditBase.DD_GROUP_DEFAULT : String
<static> Constant for ExtJS drag and drop default group.
EditBase
  EditBase.DD_GROUP_PAGE : String
<static> Constant for edit component drag and drop page group.
EditBase
  EditBase.DD_GROUP_PARAGRAPH : String
<static> Constant for edit component drag and drop paragraph group.
EditBase
  EditBase.DD_GROUP_PRODUCT : String
<static> Constant for edit component drag and drop product group.
EditBase
  EditBase.INLINE_MODE_AUTO : String
<static> Inline editing mode: auto. See inlineEditing.
EditBase
  EditBase.INLINE_MODE_FORCED : String
<static> Inline editing mode: forced. See inlineEditing.
EditBase
  EditBase.INLINE_MODE_NEVER : String
<static> Inline editing mode: never. See inlineEditing.
EditBase
  EditBase.INSERTING_PARAGRAPH : String
<static> Loading text displayed when a paragraph is inserted.
EditBase
  EditBase.INSERT_AFTER : String
<static> Constant for inserting a new component after another one.
EditBase
  EditBase.INSERT_BEFORE : String
<static> Constant for inserting a new component before another one.
EditBase
  EditBase.INSERT_LAST : String
<static> Constant for inserting a new component at the end.
EditBase
  EditBase.PARSYS_NEW : string
<static> Resource type of the parsys placeholder.
EditBase
  EditBase.REFERENCE_COMPONENT : String
<static> The resource type of the reference component.
EditBase
  EditBase.REFERENCE_COMPONENT_PATH_PROPERTY : String
<static> The path property name of the reference component.
EditBase
  EditBase.TARGET_COMPONENT : String
<static> Resource type of wrapper component used for targeting.
EditBase
  EditBase.TARGET_MODE_GHOST : String
<static> Target mode: ghost. See targetMode.
EditBase
  EditBase.TARGET_MODE_LINE : String
<static> Target mode: line. See targetMode.
EditBase
  cq : String
<static> Name of the annotations folder.
EditBase
  path : Object
Content path of the edit component.
EditBase
  purpose : Object
Returns the parent of the current edit component (if available).
EditBase

Public Methods

Method Defined By

Public Events

This class has no public events.