Class: Extension

sync.ext.Extension

new Extension()

An extensions specific to a document type.
Source:

Methods

editorCreated(editor)

Callback used when the editor is created.
Parameters:
Name Type Description
editor sync.Editor The editor object.
Source:

getEnhancers() → {Object.<string, function(HTMLElement, sync.api.Editor)>}

Returns a mapping from form-control names to constructors of form-control enhancers. The name of the form control is the fully qualified name of the Java renderer.
Source:
Returns:
map from form-control names to enhancer constructors.
Type
Object.<string, function(HTMLElement, sync.api.Editor)>