Allow autocompleting full emoji short names
This commit is contained in:
parent
328c61920e
commit
9766c3e254
@ -48,7 +48,7 @@ $(function() {
|
||||
|
||||
const emojiStrategy = {
|
||||
id: "emoji",
|
||||
match: /\B:([-+\w]*)$/,
|
||||
match: /\B:([-+\w]*):?$/,
|
||||
search(term, callback) {
|
||||
callback(Object.keys(emojiMap).filter(name => name.indexOf(term) === 0));
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user