https://developer.mozilla.org/en-US/docs/Web/API/Range/setStartBefore
Range: setStartBefore() method - Web APIs | MDN
The Range.setStartBefore() method sets the start position of a Range relative to another Node. The parent Node of the start of the Range will be the same as...
web apisrangemethodmdn