Multiple Instances: Suggestion Plugin #1768
Replies: 4 comments 9 replies
-
That should be possible. could you provide a codesandbox that shows the issue please? |
Beta Was this translation helpful? Give feedback.
-
Glad to know we're not the only ones and thanks for the possible fix. We need a solution where |
Beta Was this translation helpful? Give feedback.
-
Hi @Rykuno, sorry for the delay. The Mention extension does not support multiple triggers. However, you can achieve this behavior by copying and pasting the Mention extension code to create a new extension. I created this CodeSandbox that modifies the original Mention demo. CodeSandbox: https://codesandbox.io/p/sandbox/n5yh22 Gist: https://gist.github.com/arnaugomez/7f83132cb1d9abfb51735ddda9379bb5 This should solve the problem, but it's quite hackey and I don't like it. In the future, I'd like the Mention extension to support different types of mentions, each with its own trigger. I'll try to raise awareness to the team. |
Beta Was this translation helpful? Give feedback.
-
I created a PR to support multiple triggers in the Mention extension: #6300 |
Beta Was this translation helpful? Give feedback.
-
A requirement for utilizing TipTap within our application are multiple suggestion triggers.
Is there any capability for this within TipTap? We tried implementing a solution but it seems one plugin simply overrides the other.
Example
Hello
@user
welcome to$group
Where
@
mentions aUser
Where
$
mentions aGroup
Beta Was this translation helpful? Give feedback.
All reactions