Javascript for Episerver 7.5 cms

EditorFactory (constructor)

Summary

Factory class, responsible for creating appropriate editor wrapper.

Location

epi-cms/contentediting/EditorFactory

Properties

defaultWrapperType

Default wrappert type

Methods

public method createEditor ( property , node , value , options )

Create the property editor.

Parameters

public method onEditorCreated ( editorWidget )

Triggered when the editor widget is created

Parameters

public method onEditorResolved ( data , property )

Set this handler to be notified when editing and editor wrapper has been resolved. This might be used to change editor or editor wrapper before the actual instantiation.

Parameters

public method registerEditorWrapper ( wrapperType , wrapperClassType , initializer )

Create the property editor.

Parameters