filterSuggestionItems doesn't work when typing Korean
Describe the bug Once the suggestion menu is triggered, when you start typing in Korean, the menu will close and will not filter. Same issue persists with other trigger characters as well.
For example, when I type, "/image" the image block suggestion is filtered. However when I type /이미지, the the suggestion menu closes.
To Reproduce
Issue can be simply reproduced by adding dictionary: locales.ko to the basic useCreateBlockNote function. I've recreated the issue in the basic stackblitz by doing this.
Misc
- Node version:20.11.1, npm: 10.2.4
- Package manager: npm
- Browser: Chrome
Just to make sure - can you check that you're on BlockNote version 0.15.7? There were a few fixes to composing languages recently and I also can't seem to replicate the issue with typing /이미지.
I am using version 0.18.0. Although Chinese can be used to search the suggestion menu, typing Chinese requires an input method to convert characters. Before the conversion, the input letters already cause the suggestion menu to close, making it impossible to retrieve the content I want.
I tried customizing my own suggestion menu using the suggestionMenuComponent, but the props do not include parameters to manually control the opening and closing of the menu. I would like such a parameter to be passed in so I can actively control the menu's expansion and closure.
Additionally, I noticed that the props do not seem to include the query parameter either. Sometimes I need this parameter to perform certain tasks.