Fix editor mention preview
This commit is contained in:
parent
d9e5ff3d82
commit
01c5fde775
|
@ -249,9 +249,9 @@ export const interpunctionRegex = /^(\.|,|;|\?|\!)$/;
|
|||
export const hashtagRegex = /(?:\s|^)#[^\s!@#$%^&*(),.?":{}|<>]+/i;
|
||||
export const linebreakRegex = /(\r\n|\r|\n)/ig;
|
||||
export const tagMentionRegex = /\#\[([0-9]*)\]/;
|
||||
export const noteRegex = /nostr:((note|nevent)1\w+)\b/;
|
||||
export const profileRegex = /nostr:((npub|nprofile)1\w+)\b/;
|
||||
export const editMentionRegex = /(?:\s|^)@\`(.*?)\`/i;
|
||||
export const noteRegex = /nostr:((note|nevent)1\w+)\b/g;
|
||||
export const profileRegex = /nostr:((npub|nprofile)1\w+)\b/g;
|
||||
export const editMentionRegex = /(?:\s|^)@\`(.*?)\`/ig;
|
||||
|
||||
export const medZapLimit = 1000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue