Skip to content

Commit

Permalink
Correct comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Skalakid committed Mar 28, 2024
1 parent e2627ea commit 83d34a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useHtmlPaste/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 83d34a5

Please sign in to comment.