emoji input

This commit is contained in:
cutls 2021-01-09 17:51:40 +09:00
parent 40ac7b33a1
commit 46bc9474a0

View File

@ -339,6 +339,8 @@ function emojiInsert(code, del) {
}
sentence = before + word + after
textarea.value = sentence
textarea.focus()
textarea.setSelectionRange(pos + word.length, pos + word.length)
}
//改行挿入
function brInsert(code) {