Sanity Library Reference Docs
    Preparing search index...

    Interface CollaborationCommentSelectionAlpha

    The text an inline comment was anchored to, resolved by the API when the comment was created.

    Holds one entry per Portable Text block the selection spans, keyed by the block it came from. text is the plain text of that block with the selected part wrapped in the marker characters \uF000 (start) and \uF001 (end).

    interface CollaborationCommentSelection {
        type: "text";
        value: { _key: string; text: string }[];
    }
    Index

    Properties

    Properties

    type: "text"
    value: { _key: string; text: string }[]