diff --git a/src/pyj/select.pyj b/src/pyj/select.pyj index 37352870dc..1997b137ab 100644 --- a/src/pyj/select.pyj +++ b/src/pyj/select.pyj @@ -206,7 +206,8 @@ def move_end_of_selection(pos, start): elif r.compareBoundaryPoints(window.Range.END_TO_END, q) <= 0: start = False else: - return + # point is inside the selection + start = False if start: if r.startContainer is not p.offsetNode or r.startOffset is not p.offset: r.setStart(p.offsetNode, p.offset)