Package com.adobe.acs.commons.mcp.form
Class RichTextEditorComponent
- java.lang.Object
-
- com.adobe.acs.commons.mcp.form.FieldComponent
-
- com.adobe.acs.commons.mcp.form.RichTextEditorComponent
-
public class RichTextEditorComponent extends FieldComponent
Provide basic Rich Text editor https://helpx.adobe.com/experience-manager/6-4/sites/administering/using/rich-text-editor.html Note: Right now there are no optiosn to configure the toolbars. You can copy this class and change them as needed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
FieldComponent.ClientLibraryType
-
-
Constructor Summary
Constructors Constructor Description RichTextEditorComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sling.api.resource.ResourcebuildComponentResource()If your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.voidinit()-
Methods inherited from class com.adobe.acs.commons.mcp.form.FieldComponent
addClientLibraries, addClientLibraries, addClientLibraries, addClientLibrary, getAccessibleObject, getBooleanOption, getCategory, getClientLibraryCategories, getComponentMetadata, getField, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getResourceSuperType, getResourceType, hasOption, purgeEmptyMetadata, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setup
-
-
-
-
Method Detail
-
init
public void init()
- Specified by:
initin classFieldComponent
-
buildComponentResource
public org.apache.sling.api.resource.Resource buildComponentResource()
Description copied from class:FieldComponentIf your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.- Overrides:
buildComponentResourcein classFieldComponent- Returns:
-
-