API reference / Common / Engine types / TextBindingOptionSpan
Interface: TextBindingOptionSpan
One of a choice's options within a paragraph: what a TextBindingChoiceSpan holds, and nothing else does. The block level is TextBindingOptionBlock.
A TextMarkup container, as its choice is: it contributes no characters, so the CRDT carries it as a mark over the characters its spans realize, inside its choice's.
Properties
| Property | Description |
|---|---|
bindingTextBindingOption | The option it is, and what it binds. |
spans?TextSpan[] | Its content, in the parent paragraph's offset space. Never empty, as no container's is: an option with no content of its own holds a TextPlaceholder. |