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

    Function getTextBetween

    • Gets the text between two positions in a Prosemirror node and serializes it using the given text serializers and block separator (see getText)

      Parameters

      • startNode: Node

        The Prosemirror node to start from

      • range: Range

        The range of the text to get

      • Optionaloptions: { blockSeparator?: string; textSerializers?: Record<string, TextSerializer> }

        Options for the text serializer & block separator

      Returns string

      The text between the two positions