Skip to content

Commit 7869986

Browse files
Fixed quote props exclusion in reviveTarget
1 parent cbbc399 commit 7869986

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/text-annotator/src/state/reviveTarget.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const reviveTarget = (
1111
target: TextAnnotationTarget,
1212
container: HTMLElement
1313
): TextAnnotationTarget => {
14-
const { quote, start, end } = target.selector;
14+
const { start, end } = target.selector;
1515

1616
const offsetReference = target.selector.offsetReference ? target.selector.offsetReference : container;
1717
if (!offsetReference)
@@ -65,7 +65,6 @@ export const reviveTarget = (
6565
...target,
6666
selector: {
6767
...target.selector,
68-
quote,
6968
start,
7069
end,
7170
range

0 commit comments

Comments
 (0)