Resolve #3126
This commit is contained in:
parent
64f89ba13e
commit
6d8ea89f09
2 changed files with 6 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class Autocomplete {
|
|||
|
||||
if (isEmoji && opened == false) {
|
||||
const emoji = text.substr(emojiIndex + 1);
|
||||
if (emoji != '' && emoji.match(/^[\+\-a-z0-9_]+$/)) {
|
||||
if (!emoji.includes(' ')) {
|
||||
this.open('emoji', emoji);
|
||||
opened = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue