SCEditor

currentBlockNode()

currentBlockNode() Since: 1.4.4

Gets the current block level DOM node that contains the selection/caret in WYSIWYG mode.

Will return null if there is currently no selection or in source mode.

Syntax

var node = instance.currentBlockNode();

Return

Type: Node