Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

afterInitEdit

Div
classapi-table

Description

This event is fired by the Rich Text Editors when the editing interface is fully initialized.

Type

default

Parameters

editor
the instance of the editor component

afterBeginEdit

Div
classapi-table

Description

This event fires after the editing view has initialized and is ready for editing.

Type

default

Parameters

none

onCreateEditView

Div
classapi-table

Description

This event fires when the Inline Edit component creates the editing view.

Type

default

Parameters

none

modelChanged

Div
classapi-table

Description

This event fires when the value of the editable field has changed.

Type

default

Parameters

model
The current (new) value of the "model" structure representing the editable state of the component

oldModel
A snapshot of the old value of the model structure before the current edit operation started

source
An arbitrary object which optionally represents the "source" of the change, which can be checked by listeners to prevent cyclic events. Can often be undefined.

onBeginEdit

Div
classapi-table

Description

This event fires before the Inline Edit component switched into edit mode.

Type

preventable

Parameters

none

onFinishEdit

Div
classapi-table

Description

This event fires before the Inline Edit component is switched out of edit mode back into view mode.

Type

preventable

Parameters

newValue
see parameters for modelChanged (model, oldModel)

oldValue
see parameters for modelChanged (model, oldModel)

editNode
A DOM node which holds the concrete editable control - this may vary in interpretation for different embodiments of the InlineEdit control but may, for example be an <input>, <textarea> or <select> node

viewNode
A DOM node which holds the read-only representation of the editable value.

afterFinishEdit

Div
classapi-table

Description

This event fires when the Inline Edit component has been switched out of edit mode back into view mode.

Type

default

 Parameters

newValue
see parameters for modelChanged (model, oldModel)

oldValue
see parameters for modelChanged (model, oldModel)

editNode
A DOM node which holds the concrete editable control - this may vary in interpretation for different embodiments of the InlineEdit control but may, for example be an <input>, <textarea> or <select> node

viewNode
A DOM node which holds the read-only representation of the editable value.