From 83d34a5291c643db5225b5d530677f76ff9f508b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ska=C5=82ka?= Date: Thu, 28 Mar 2024 14:39:33 +0100 Subject: [PATCH] Correct comment --- src/hooks/useHtmlPaste/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useHtmlPaste/index.ts b/src/hooks/useHtmlPaste/index.ts index 426db02e2af7..80b58a7adc02 100644 --- a/src/hooks/useHtmlPaste/index.ts +++ b/src/hooks/useHtmlPaste/index.ts @@ -24,7 +24,7 @@ const useHtmlPaste: UseHtmlPaste = (textInputRef, preHtmlPasteCallback, removeLi selection.removeAllRanges(); selection.addRange(range); - // dispatch input event to trigger Markdown Input to parser text + // Dispatch input event to trigger Markdown Input to parse the new text (textInputRef.current as HTMLElement)?.dispatchEvent( new Event('input', { bubbles: true,