Sanity Library Reference Docs
    Preparing search index...

    Interface PortableTextMarker

    A generic marker for attaching metadata to specific nodes of the Portable Text input.

    use renderBlock, renderInlineBlock, renderAnnotation interfaces instead

    a type name for this marker

    some data connected to this marker

    the path to the Portable Text content connected to this marker

    interface PortableTextMarker {
        data?: unknown;
        path: Path;
        type: string;
    }
    Index

    Properties

    Properties

    data?: unknown
    path: Path
    type: string