絵文字サジェストでスペースを挿入しないように
This commit is contained in:
parent
a22ddb1fb9
commit
f84e9c7dc8
@ -222,8 +222,6 @@ class Autocomplete {
|
|||||||
const trimmedBefore = before.substring(0, before.lastIndexOf(':'));
|
const trimmedBefore = before.substring(0, before.lastIndexOf(':'));
|
||||||
const after = source.substr(caret);
|
const after = source.substr(caret);
|
||||||
|
|
||||||
if (value.startsWith(':')) value = value + ' ';
|
|
||||||
|
|
||||||
// 挿入
|
// 挿入
|
||||||
this.text = trimmedBefore + value + after;
|
this.text = trimmedBefore + value + after;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user