Skip to content

MentionSuggestions whitespace Regex filter issue #558

@Revln9

Description

@Revln9

suppose you have a suggestion list like that

[
{ name: 'call 1' , value:1 },
{ name: 'call 2' , value:2 },
{ name: 'call 3' , value:3 }
]

if you type '@call 3' at the editor it will not narrow the search to item call 3 , because the whitespace breaks it . instead it will give you all of them.

i've noticed also a sorting issue with suggestions when you search for something that contains A for example the suggestions that begins with A needs to be at the top of the list which is not the case. instead it gives you the the natural order of your current suggestions list.

now how i can modify the regex and the mentionSuggestionsStrategy to do so ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions