Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write emojis to an input #21

Open
danbovey opened this issue Dec 30, 2017 · 2 comments
Open

Write emojis to an input #21

danbovey opened this issue Dec 30, 2017 · 2 comments

Comments

@danbovey
Copy link
Owner

danbovey commented Dec 30, 2017

We already store the offset of where to place the emoji in the input here: create.js#L9

But the write function is from the old extension: emojis.js#L87

@adrianbj
Copy link

adrianbj commented Aug 4, 2019

What about this: https://jsfiddle.net/gHN8G/ which uses an insertAtCaret() function. Obviously this currently requires jQuery, but surely could be converted to use vanilla JS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants