selection.anchorNode

baseNode, на сайте с 21 декабря 2022, 05:50
Returns the Node in which the selection begins