emoji input
This commit is contained in:
parent
40ac7b33a1
commit
46bc9474a0
|
@ -339,6 +339,8 @@ function emojiInsert(code, del) {
|
||||||
}
|
}
|
||||||
sentence = before + word + after
|
sentence = before + word + after
|
||||||
textarea.value = sentence
|
textarea.value = sentence
|
||||||
|
textarea.focus()
|
||||||
|
textarea.setSelectionRange(pos + word.length, pos + word.length)
|
||||||
}
|
}
|
||||||
//改行挿入
|
//改行挿入
|
||||||
function brInsert(code) {
|
function brInsert(code) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user