allow autocompleting Emoji by common aliases, e.g 👍 to 👍
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
fe3850d61f
commit
07f0713a56
3 changed files with 7 additions and 3 deletions
|
@ -12,6 +12,9 @@ const output = Object.keys(EMOJI_DATA).map(
|
|||
category: datum.category,
|
||||
emoji_order: datum.emoji_order,
|
||||
};
|
||||
if (datum.aliases.length > 0) {
|
||||
newDatum.aliases = datum.aliases;
|
||||
}
|
||||
if (datum.aliases_ascii.length > 0) {
|
||||
newDatum.aliases_ascii = datum.aliases_ascii;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue