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
Not sure if it is a bug or not, or maybe I was expecting something else and this would be a new feature that cannot be hacked currently:
I am using the Mention extension, it works perfectly but I want it to show the suggestion dropdown without any starting character (like @) and also initially (so when I am focusing on an empty node).
I thought that setting the char property of suggestion to an empty string helps, but it is only partially a solution. Now, when I start to type, the dropdown appears after the first character, but when focusing on an empty node (=new line), nothing is shown (like the unfiltered list) (the onUpdate or the onKeyDown methods are not called, of course).
Is this an issue, or would this be a new feature?
Is there any "hack" to achieve this behaviour?
What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
Show the suggestion dropdown without any starting character and also initially on focus.
Anything to add? (optional)
No response
Did you update your dependencies?
Yes, I’ve updated my dependencies to use the latest version of all packages.
Are you sponsoring us?
Yes, I’m a sponsor. 💖
The text was updated successfully, but these errors were encountered:
Which packages did you experience the bug in?
extension-mention
What Tiptap version are you using?
2.3.0
What’s the bug you are facing?
Not sure if it is a bug or not, or maybe I was expecting something else and this would be a new feature that cannot be hacked currently:
I am using the Mention extension, it works perfectly but I want it to show the suggestion dropdown without any starting character (like
@
) and also initially (so when I am focusing on an empty node).I thought that setting the
char
property ofsuggestion
to an empty string helps, but it is only partially a solution. Now, when I start to type, the dropdown appears after the first character, but when focusing on an empty node (=new line), nothing is shown (like the unfiltered list) (theonUpdate
or theonKeyDown
methods are not called, of course).Is this an issue, or would this be a new feature?
Is there any "hack" to achieve this behaviour?
What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
Show the suggestion dropdown without any starting character and also initially on focus.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: