You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I'm trying to calculate characters and word count but whenever I press Enter my last word and new word are concatenate which causes the wrong word counts and every time I press Enter my characterCount incremented by 2 which should be 1 (I think so)
Steps to reproduce the bug
Steps to reproduce the behavior:
write n number of words and press Enter
start writing again
CodeSandbox
I created a CodeSandbox to help you debug the issue: Code Sand Box
Expected behavior
when I press Enter it should consider as space (the last word should not concatenate with the new word)
Screenshot, video, or GIF
Environment?
operating system: mac0s - big sur
browser: firefox
mobile/desktop: desktop
tiptap version: v2 beta
Additional context
I'm referring to this @tiptap Doc
The text was updated successfully, but these errors were encountered:
Description
I'm trying to calculate characters and word count but whenever I press Enter my last word and new word are
concatenate
which causes the wrong word counts and every time I press Enter mycharacterCount
incremented by 2 which should be 1 (I think so)Steps to reproduce the bug
Steps to reproduce the behavior:
n number
of words and pressEnter
CodeSandbox
I created a CodeSandbox to help you debug the issue: Code Sand Box
Expected behavior
when I press
Enter
it should consider as space (the last word should notconcatenate
with the new word)Screenshot, video, or GIF
Environment?
Additional context
I'm referring to this
@tiptap Doc
The text was updated successfully, but these errors were encountered: