clearSelection

The current selection should be cleared when you mouse over this paragraph.

disableSelection and enableSelection

This is some test text!

selectElement

This is some test text!

isSelectionCollapsed and other information

selection collapsed:

selection parentElement:

delete selection

The current selection should be deleted when you mouse over this text span.