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

Type declaration

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

      • match: RegExpMatchArray

        The regular expression match result

      • Optionaloptions: EnrichmentOptions

        Options provided to customize text enrichment

      Returns Promise<HTMLElement | null>