Skip to content

Commit e38b6d7

Browse files
committed
fix(highlights): pass native range
1 parent e4c7383 commit e38b6d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/highlight-support.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ const highlightSupport = {
117117
return {
118118
start: textRange.start,
119119
end: textRange.end,
120-
text: range.text()
120+
text: range.text(),
121+
nativeRange: range.nativeRange
121122
}
122123
},
123124

0 commit comments

Comments
 (0)