# Emojis get inserted in the wrong location

**URL:** <https://meta.discourse.org/t/emojis-get-inserted-in-the-wrong-location/230084>\
**Category:** Bug\
**Created:** [June 15, 2022, 4:22pm UTC](https://meta.discourse.org/t/emojis-get-inserted-in-the-wrong-location/230084 "2022-06-15T16:22:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [June 16, 2022, 10:30am UTC](https://meta.discourse.org/t/emojis-get-inserted-in-the-wrong-location/230084/8 "2022-06-16T10:30:43Z")

</div>

> [@sam](#):
>
> this could possibly related to the recent “textarea” history work

Yup it was - sorry about that! Here’s a fix and a new test which would have caught this issue:

[https://github.com/discourse/discourse/pull/17107](https://github.com/discourse/discourse/pull/17107)

---

_[View the full topic](https://meta.discourse.org/t/emojis-get-inserted-in-the-wrong-location/230084)._
