Calculate current zoom scale of editor
Find closest element ancestor start from the given node which matches the given selector
Find ancestor start from this node
The expected selector. If null, return the first HTML Element found from start node
An HTML element which matches the given selector. If the given start node matches the selector, returns the given node
Find closest element ancestor start from the given node which matches the given selector
Find ancestor start from this node
The expected selector. If null, return the first HTML Element found from start node
An HTML element which matches the given selector. If the given start node matches the selector, returns the given node
Get the width of the editable area of the editor content div
Get a deep cloned root element
Get DOM attribute of editor content DIV, null if there is no such attribute.
Name of the attribute
Get DOM style of editor content DIV
Name of the style
Get plain text content of editor using textContent property
Check if the editor has focus now
True if the editor has focus, otherwise false
Check if the given DOM node is in editor
The node to check
When pass true, the function will return false if the passed in node is the root node itself
Check if the root element is in RTL mode
Query HTML elements in editor by tag name. Be careful of this function since it will also return element under entity.
Tag name of the element to query
HTML Element array of the query result
Query HTML elements in editor by a selector string Be careful of this function since it will also return element under entity.
Selector string to query
HTML Element array of the query result
Set DOM attribute of editor content DIV
Name of the attribute
Value of the attribute
Generated using TypeDoc
A helper class to provide DOM access APIs