Attributes associated with the mark.
The offset into associated ContentBlock's textContent, describing the end of the mark.
You can get the text for a mark using:
contentBlock.getTextContent().slice(mark.startOffset, mark.endOffset)
The offset into associated ContentBlock's textContent, describing the start of the mark.
You can get the text for a mark using:
contentBlock.getTextContent().slice(mark.startOffset, mark.endOffset)
Describes the type of mark.
Marks represents inline Elements, such as the HTML elements <em>, <strong> and <a>.
Please see ContentBlockMarkType for a full list of supported mark types.
Generated using TypeDoc
Further describes parts of the textContent in a IContentBlock. Marks represents inline Elements, such as the HTML elements
<em>,<strong>and<a>. Please seeContentBlockMarkTypefor a full list of supported mark types.You can get the text for a mark using: