File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
packages/text-annotator/src/model Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -12,26 +12,10 @@ export interface TextAnnotationTarget extends AnnotationTarget {
1212
1313}
1414
15- /**
16- * Matches the `Text Quote Selector` spec
17- * @see https://www.w3.org/TR/annotation-model/#text-quote-selector
18- */
19- export interface TextQuoteSelector {
15+ export interface TextSelector {
2016
2117 quote : string ;
22-
23- quotePrefix : string ;
24-
25- quoteSuffix : string ;
26-
27- }
28-
29- /**
30- * Matches the `Text Position Selector` spec
31- * @see https://www.w3.org/TR/annotation-model/#text-position-selector
32- */
33- export interface TextPositionSelector {
34-
18+
3519 start : number ;
3620
3721 end : number ;
@@ -41,6 +25,3 @@ export interface TextPositionSelector {
4125 offsetReference ?: HTMLElement
4226
4327}
44-
45- export type TextSelector = TextQuoteSelector & TextPositionSelector ;
46-
You can’t perform that action at this time.
0 commit comments