TextRange Change

Between Platform Preview Release 1 and Platform Preview release 2, Microsoft changed the way that textRange objects worked and replaced the rangeFromElement() function with the createTextRange() and moveToElementText() functions. For more details, see the updated Chapter 8.