Show mentions menu after pressing @, no further characters required
This commit is contained in:

committed by
Jamie Kyle

parent
deb1f9bd8d
commit
ed6ffb695a
@@ -29,7 +29,7 @@ export type MentionCompletionOptions = {
|
||||
theme: ThemeType;
|
||||
};
|
||||
|
||||
const MENTION_REGEX = /(?:^|\W)@([-+\p{L}\p{M}\p{N}]+)$/u;
|
||||
const MENTION_REGEX = /(?:^|\W)@([-+\p{L}\p{M}\p{N}]*)$/u;
|
||||
|
||||
export class MentionCompletion {
|
||||
results: ReadonlyArray<ConversationType>;
|
||||
|
Reference in New Issue
Block a user