tinymce.FocusManager

This class manages the focus/blur state of the editor. This class is needed since some browsers fire false focus/blur states when the selection is moved to a UI dialog or similar. This class will fire two events focus and blur on the editor instances that got affected. It will also handle the restore of selection when the focus is lost and returned.

Constructors

name summary defined by
FocusManager() Constructs a new focus manager instance. tinymce.FocusManager

Methods

name summary defined by
isEditorUIElement() Returns true if the specified element is part of the UI for example an button or text input. tinymce.FocusManager

Constructors

FocusManager

public constructor function FocusManager(editorManager:tinymce.EditorManager)

Constructs a new focus manager instance.

Parameters

Methods

isEditorUIElement

isEditorUIElement(elm:Element):Boolean

Returns true if the specified element is part of the UI for example an button or text input.

Parameters
Return value

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.