cirandas.net

ref: master

public/javascripts/tinymce/tools/docs/tinymce.FocusEvent.js


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * This class is the event object sent when editors are focused/blurred.
 *
 * @class tinymce.FocusEvent
 * @extends tinymce.Event
 * @example
 * tinymce.activeEditor.on('focus', function(e) {
 *     console.log(e.blurredEditor);
 * });
 *
 * tinymce.activeEditor.on('blur', function(e) {
 *     console.log(e.focusedEditor);
 * });
 */

/**
 * Optional editor instance that got the focus when the blur event occurs.
 *
 * @property {tinymce.Editor} focusedEditor
 */

/**
 * Optional editor instance that got blurred when the focus event occurs.
 *
 * @property {tinymce.Editor} blurredEditor
 */