startOffset

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)