# When pasting text into the editor using Firefox, it incorrectly formats the text

**URL:** <https://meta.discourse.org/t/when-pasting-text-into-the-editor-using-firefox-it-incorrectly-formats-the-text/26100>\
**Category:** Bug\
**Created:** [08.Март.2015 10:51:15 UTC](https://meta.discourse.org/t/when-pasting-text-into-the-editor-using-firefox-it-incorrectly-formats-the-text/26100 "2015-03-08T10:51:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [08.Март.2015 13:45:20 UTC](https://meta.discourse.org/t/when-pasting-text-into-the-editor-using-firefox-it-incorrectly-formats-the-text/26100/2 "2015-03-08T13:45:20Z")

</div>

Firefox is _weird_.

- Copy from Firefox, paste in Firefox → as reported.
- Copy from Chrome, paste in Firefox → no newlines at all.
- Copy from Chrome, paste in Notepad, copy again and paste in Firefox → works.
- Copy from Firefox and paste in Chrome → works too.

My guess is that both browsers put richtext into the clipboard, and Firefox has problems with pasting that into a plaintext input field. Or could it be that Discourse somehow makes FF think that the editor supports richtext?

---

_[View the full topic](https://meta.discourse.org/t/when-pasting-text-into-the-editor-using-firefox-it-incorrectly-formats-the-text/26100)._
