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.
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 |
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
- elm (Element) - Element to check if it's part of the UI or not.
Return value
- Boolean - True/false state if the element is part of the UI or not.
Can't find what you're looking for? Let us know.
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.