mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-11 05:55:35 -05:00
Emoji: Adds search (#37418)
Co-authored-by: diondiondion <mail@diondiondion.com>
This commit is contained in:
@@ -119,6 +119,9 @@ export function unicodeEmojiFactory(
|
||||
label: 'Test',
|
||||
unicode: '🧪',
|
||||
shortcodes: ['test_emoji'],
|
||||
tokens: ['emoji', 'test'],
|
||||
group: 1,
|
||||
order: 1,
|
||||
...data,
|
||||
};
|
||||
}
|
||||
@@ -131,6 +134,7 @@ export function customEmojiFactory(
|
||||
static_url: '/custom-emoji/logo.svg',
|
||||
url: '/custom-emoji/logo.svg',
|
||||
visible_in_picker: true,
|
||||
tokens: ['custom'],
|
||||
...data,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user