feat: emoji reactions
This commit is contained in:
parent
40b487994d
commit
2c9a5b219b
15 changed files with 382 additions and 50 deletions
|
|
@ -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[]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue