Class Alfresco.ContentControl
Extends Alfresco.RichTextControl
Content control component.
This component renders an editor appropriate for the the mimetype
of the content.
Plain text content is rendered in a textarea.
Rich text content is rendered in a TinyMCE editor.
Images are displayed with a file upload control.
This component renders an editor appropriate for the the mimetype
of the content.
Plain text content is rendered in a textarea.
Rich text content is rendered in a TinyMCE editor.
Images are displayed with a file upload control.
Defined in: content.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.ContentControl(htmlId)
ContentControl constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Object container for initialization options
|
- Fields borrowed from class Alfresco.RichTextControl:
- editor
- 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.ContentControl(htmlId)
ContentControl constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.TextControl} The new ContentControl instance
Field Detail
{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.