Show mentions menu after pressing @, no further characters required
This commit is contained in:
parent
deb1f9bd8d
commit
ed6ffb695a
1 changed files with 1 additions and 1 deletions
|
@ -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>;
|
||||
|
|
Loading…
Reference in a new issue