TextEditorEnricher: ((match, options?) => Promise<HTMLElement | null>)

Type declaration

    • (match, options?): Promise<HTMLElement | null>
    • Parameters

      • match: RegExpMatchArray

        The regular expression match result

      • Optional options: EnrichmentOptions

        Options provided to customize text enrichment

      Returns Promise<HTMLElement | null>