getTextFromGlobalOffsets({ start, end }) {
        return domManager.getText(start, end);
      }
Get text content at the position set by global offsets.

@param {Object} offsets - The start and end global offsets.
@param {number} offsets.start - The start global offset in codepoints.
@param {number} offsets.end - The end global offset in codepoints.
@returns {string} - The text content between the start and end offsets.