ueberdosis / tiptap

The headless rich text editor framework for web artisans.
https://tiptap.dev
MIT License
27.37k stars 2.27k forks source link

[PRO]: navigating through paragraphs using key up or down while mention is on the beginning of the row moves cursor behind mention #3990

Open ajdinproho opened 1 year ago

ajdinproho commented 1 year ago

Which packages did you experience the bug in?

core, extension-mention

What Tiptap version are you using?

2.0.3

What’s the bug you are facing?

When the mention is at the beginning of the paragraph and you're moving cursor by pressing key up or down while cursor is at the beginning of the paragraph, cursor moves behind the mention instead of moving in front of the mention The bug is happening in Chrome, Firefox, Edge and Safari.

mentions cursor first row

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

The expected behaviour is that the cursor should move in front of the mention.

Anything to add? (optional)

No response

Did you update your dependencies?

Are you sponsoring us?

aldinezi commented 1 year ago

As a Pro Tiptap user, I can confirm this behavior is affecting me too.

davidhasovic commented 1 year ago

Mee too.