Skip to content

API reference / Common / Engine types / TextBindingOtherwiseSpan

Interface: TextBindingOtherwiseSpan ​

A choice's otherwise within a paragraph: what a TextBindingChoiceSpan holds last, and nothing else does. The block level is TextBindingOtherwiseBlock.

A TextMarkup container, as its choice is: it contributes no characters, and the CRDT carries it as a mark over the characters its content realizes, inside its choice's.

Properties ​

PropertyDescription
binding
TextBindingOtherwise
The otherwise it is.
spans?
TextSpan[]
Its content, in the parent paragraph's offset space. Never empty, as no container's is.