@umbraco-cms/backoffice
    Preparing search index...

    Function getMarkRange

    • Get the range of a mark at a resolved position.

      Parameters

      • $pos: ResolvedPos

        The position to get the mark range for.

      • type: MarkType

        The mark type to get the range for.

      • Optionalattributes: Record<string, any>

        The attributes to match against. If not provided, only the first mark at the position will be matched.

      Returns void | Range