1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-30 07:48:57 +09:00

絵文字サジェストでスペースを挿入しないように

This commit is contained in:
syuilo 2018-11-05 12:35:50 +09:00
parent a22ddb1fb9
commit f84e9c7dc8
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -222,8 +222,6 @@ class Autocomplete {
const trimmedBefore = before.substring(0, before.lastIndexOf(':'));
const after = source.substr(caret);
if (value.startsWith(':')) value = value + ' ';
// 挿入
this.text = trimmedBefore + value + after;