Skip to content
Document Authoring DA  API Docs v2.1.0
npmGitHub

TextSpanNEW

TextSpan:

A stretch of existing content, from the start of from to the end of to. It can start in the middle of one paragraph and end in the middle of a later one, as long as both are in the same container (the body, one table cell, one header…) with only paragraphs between them.

from starts at its range, or at the start of its text view when range is omitted. to ends at the end of its range, or at the end of its text view; when to is omitted, the span ends where from does.

from: TextAnchorInputRange


optional to: TextAnchorInputRange