Class Alfresco.RichTextControl
Extends Alfresco.component.Base
Rich text control component.
This component renders a TinyMCE editor.
This component renders a TinyMCE editor.
Defined in: rich-text.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.RichTextControl(htmlId, name)
RichTextControl constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
The editor instance for the control
|
|
|
Object container for initialization options
|
- Fields borrowed from class Alfresco.component.Base:
- modules, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.RichTextControl(htmlId, name)
RichTextControl constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- {String} name
- The name of the component
- Returns:
- {Alfresco.RichTextControl} The new RichTextControl instance
Field Detail
{object}
editor
The editor instance for the control
{object}
options
Object container for initialization options
Method Detail
onReady()
Fired by YUI when parent element is available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.
Component initialisation, including instantiation of YUI widgets and event listener binding.