Shape describing the data associated with this mark, if it is an annotation
Text content of this mark
Type of mark - ie value of _type
in the case of annotations, or the name of the decorator otherwise - eg em
, italic
.
Serialized HTML of child nodes of this mark
Function used to render any node that might appear in a portable text array or block, including virtual "toolkit"-nodes like lists and nested spans. You will rarely need to use this.
Optional
valueMark definition, eg the actual data of the annotation. If the mark is a simple decorator, this will be undefined
Optional
markKey for this mark. The same key can be used amongst multiple text spans within the same block, so don't rely on this to be unique.
Options received by Portable Text mark components