SCEditor

parentNode()

parentNode() Since: 1.3.5

Gets the parent node of the currently selected the range.

Syntax

var parent = instance.parentNode();

Return

Type: Node

Will return null if there is no current selection.