feat: emoji reactions

This commit is contained in:
codytseng 2025-04-22 22:36:53 +08:00
parent 40b487994d
commit 2c9a5b219b
15 changed files with 382 additions and 50 deletions

View file

@ -67,7 +67,7 @@ export const EmbeddedNormalUrlParser: TContentParser = {
export const EmbeddedEmojiParser: TContentParser = {
type: 'emoji',
regex: /:[a-zA-Z0-9_]+:/g
regex: /:[a-zA-Z0-9_-]+:/g
}
export function parseContent(content: string, parsers: TContentParser[]) {