Interface HTMLEditorStyle
- All Known Implementing Classes:
SkinHTMLEditorContentStyle
,StaticHTMLEditorContentStyle
public interface HTMLEditorStyle
This extension point allows to determine which styles does exist for html edition
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<ClientSideElement.ScriptFile>
getBackOfficeCSSFiles
(String category, Map<String, Object> contextParameters) Get the aggregation of all backoffice css filesGet the categories supported by this componentGet the list of styles for imagesdefault List<ClientSideElement.ScriptFile>
getInlineEditorCSSFiles
(String category, Map<String, Object> contextParameters) Get the aggregation of all inline editor css filesGet the list of styles for linkgetOrderedList
(String category, Map<String, Object> contextualParameters) Get the list of styles for ordered listsGet the list of styles for paragraphsGet the list of styles for tablesgetUnorderedList
(String category, Map<String, Object> contextualParameters) Get the list of styles for unordered lists
-
Field Details
-
ROLE
Avalon role name
-
-
Method Details
-
getCategories
Get the categories supported by this component- Returns:
- The categories supported. Cannot be null, but may be empty and of course contains the "" key for the default category.
-
getPara
Get the list of styles for paragraphs- Parameters:
category
- The richtext categorycontextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getTable
Get the list of styles for tables- Parameters:
category
- The richtext categorycontextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getLink
Get the list of styles for link- Parameters:
category
- The richtext categorycontextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getImage
Get the list of styles for images- Parameters:
category
- The richtext categorycontextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getUnorderedList
Get the list of styles for unordered lists- Parameters:
category
- The richtext categorycontextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getOrderedList
Get the list of styles for ordered lists- Parameters:
category
- The richtext categorycontextualParameters
- Contextuals parameters transmitted by the environment.- Returns:
- A category. Can be null.
-
getBackOfficeCSSFiles
default List<ClientSideElement.ScriptFile> getBackOfficeCSSFiles(String category, Map<String, Object> contextParameters) Get the aggregation of all backoffice css files- Parameters:
category
- The richtext categorycontextParameters
- The contextual parameters- Returns:
- A non null list of ScriptFile
-
getInlineEditorCSSFiles
default List<ClientSideElement.ScriptFile> getInlineEditorCSSFiles(String category, Map<String, Object> contextParameters) Get the aggregation of all inline editor css files- Parameters:
category
- The richtext categorycontextParameters
- The contextual parameters- Returns:
- A non null list of ScriptFile
-