Skip to content

API reference / Common / Engine types / WordprocessingTextEndpoint

Interface: WordprocessingTextEndpoint ​

One end of a flowing DocumentText selection — a boundary in a section's body, addressed fully across the document. (SectionText needs only a bare [TextSelection] because its section is fixed.)

Properties ​

PropertyDescription
section
string
The section the end sits in — the doc type's scope.
story
string
That section's body story. It rides beside the section for presence, which anchors the end in the story's text container: the CRDT names that container by the story's id, and holds no sections to look it up by.
pos
number
The boundary within that story.