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
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.sling.api.resource.ResourceIf 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, getFieldDefinition, getHelper, getHtml, getName, getOption, getOptionNames, getPath, getProperties, getResourceSuperType, getResourceType, hasOption, purgeEmptyProperties, setCategory, setHelper, setPath, setResourceSuperType, setResourceType, setup
-
Constructor Details
-
RichTextEditorComponent
public RichTextEditorComponent()
-
-
Method Details
-
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:
-