I faced with strange behavior. When I tried serialize selection with getBookmark method (on body), added comments node into body like <!-- progress-bar --> and called moveToBookmark for new markup (but there are no changes in visible text!), selection was restored on wrong letters.
Hi,
first of all - thank you for the great library!
I faced with strange behavior. When I tried serialize selection with getBookmark method (on body), added comments node into body like
<!-- progress-bar -->
and called moveToBookmark for new markup (but there are no changes in visible text!), selection was restored on wrong letters.Why comments nodes matter for bookmark?