What’s broken?
When defining a SuggestionMenuController with a multi-character trigger, colons prevent the menu from ever being triggered.
What did you expect to happen?
The menu should open fine with a colon.
Steps to reproduce
<SuggestionMenuController
triggerCharacter={"img:"}
getItems={...}
suggestionMenuComponent={...}
/>
Note that both img# and : alone work too.
BlockNote version
v0.51.4
Environment
Firefox 152.0.4, Fedora 44
Additional context
No response
Contribution
Sponsor
What’s broken?
When defining a
SuggestionMenuControllerwith a multi-character trigger, colons prevent the menu from ever being triggered.What did you expect to happen?
The menu should open fine with a colon.
Steps to reproduce
Note that both
img#and:alone work too.BlockNote version
v0.51.4
Environment
Firefox 152.0.4, Fedora 44
Additional context
No response
Contribution
Sponsor