M
M
mapleart2018-01-30 14:26:34
css
mapleart, 2018-01-30 14:26:34

How to make the cursor move when clicking on a smiley in contentEditable?

Using the JQ plugin emojiOne picker, I had one question. How to make that when you click between two adjacent emoticons, the cursor gets between them.
5a70555642c3f676275542.jpeg
For example, in vk.com, when you click between emoticons, the cursor gets between them and you can immediately enter text.

And for me, both when using emojiOne picker, and when using a self-written plugin, you need to try very hard to get between the smiles. Do not tell me what is the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question