You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Highlight selected text only, not the whole element
- Plugin sends per-line rects from range.getClientRects() and pre-adds
the iframe offset at mouseup time, so shell-layout shifts between
mouseup and message receipt don't misplace the overlay.
- TextHighlightOverlay renders one div per rect; falls back to the
bounding rect for restored highlights.
- useAnnotationRects shifts rects by the element's scroll delta via an
_anchorRect pattern; rejects stale id matches after async resolution.
- Clear inspector selection when entering highlight mode so the old
element-wide .highlight.select box doesn't linger.
- Persist and restore visual.rects on highlight tasks.
0 commit comments