small fix

This commit is contained in:
andrew 2024-01-02 02:00:08 -05:00
parent 45fdce7f16
commit 45add1643c

View file

@ -249,10 +249,6 @@ async function makeSelectionRange(): Promise<
* If the selection ends on range endContainer (or startContainer in reverse select) but no text is selected (i.e. selection ends at
* an empty area), the preceding text is highlighted due to range normalizing.
* This is a visual bug and would sometimes lead to weird highlight behavior during removal.
<<<<<<< HEAD
=======
* See X for more detail
>>>>>>> main
*/
const selectionEndNode = selection.focusNode
const selectionEndOffset = selection.focusOffset