new WrapperAuthorEditingSupport(editingSupport)
Editing support that is a wrapper for other author editing support
Parameters:
Name | Type | Description |
---|---|---|
editingSupport |
sync.api.AuthorEditingSupport | Wrapped editing support. |
Methods
-
getDocument()
-
Returns the document node of the XML DOM model.
- See:
-
- {sync.api.AuthorEditingSupport#getDocument()}
Returns:
The document node of the XML DOM model.- Type
- Document
-
getPersistentHighlightsManager()
-
Returns the handler for custom persistent highlights.
- Since:
-
- 22.1
Returns:
The persistent highlights manager.- Type
- sync.api.PersistentHighlightsManager | null
-
getWidgetsFactory()
-
Returns the Author widgets factory.
- Since:
-
- 22.1
Returns:
The Author editing support widgets factory. -
registerEnhancer(name, enhancer)
-
Registers an enhancer for a type of form controls.
This registration should be performed before the editor is loaded, so that the enhancer can be used for the initial rendering of the document.
Parameters:
Name Type Description name
string The type of the form-control, which is the fully qualified name of the Java WebappFormControlRenderer class. enhancer
function The constructor for an instance of sync.formctrls.Enhancer that will be used to enhance form controls rendered by the specified Java renderer.