# Unable to copy paste into a new canned message

**URL:** https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463
**Category:** Bug
**Created:** [September 18, 2018, 3:47pm UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463 "2018-09-18T15:47:08Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 18, 2018, 3:47pm UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/1 "2018-09-18T15:47:08Z")

</div>

See screenshot. I am adding a canned reply, and want to copy/paste the text into the content box. Weirdly, the text I am pasting shows up not in the canned reply content but in the body of the message behind, in the composer. I can click into the content box and type in text.

 ![24%20AM](https://global.discourse-cdn.com/meta/original/3X/c/4/c448b5e1c34184200a33e4fdc4579639061f72ed.png)

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [September 18, 2018, 4:10pm UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/2 "2018-09-18T16:10:46Z")

</div>

I can repro this bug even here on Meta.

Steps to reproduce:

1. Write a text in the composer
2. Open a canned reply and click New
3. The text in the composer appears in the canned reply
4. Click on X or Cancel has no effect.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 18, 2018, 9:45pm UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/3 "2018-09-18T21:45:27Z")

</div>

I think @nbianca is working on some improvements here, maybe this can be addressed as well?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 18, 2018, 9:48pm UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/5 "2018-09-18T21:48:48Z")

</div>

Great! Glad canned replies are getting _even more_ love.

What @dax is describing is a bit different from what I see on my instance.

Steps to reproduce:

1. copy some text into your clipboard (looktthatIcanstartalistwithzerohowcoolisthat!)
2. Start a new message
3. Open canned reply and select new or edit existing canned reply
4. Click into canned reply content field, paste clipboard text . See it appear in composer in greyed background, not appear in the canned reply content field.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [September 20, 2018, 8:42am UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/6 "2018-09-20T08:42:44Z")

</div>

> [@dax](#):
>
> I can repro this bug even here on Meta.
> 
> Steps to reproduce:
> 
> 1. Write a text in the composer
> 2. Open a canned reply and click New
> 3. The text in the composer appears in the canned reply
> 4. Click on X or Cancel has no effect.

> [@tobiaseigen](#):
>
> Steps to reproduce:
> 
> 1. copy some text into your clipboard (looktthatIcanstartalistwithzerohowcoolisthat!)
> 2. Start a new message
> 3. Open canned reply and select new or edit existing canned reply
> 4. Click into canned reply content field, paste clipboard text . See it appear in composer in greyed background, not appear in the canned reply content field.

I cannot reproduce any of these bugs. What browsers are you using?

This is how I tried:

1. Write some text in the composer and had more in my clipboard.
2. Press on the ⚙ icon and then on `Canned Replies`.
3. Press the **➕ New** button.
4. I clicked on the composer input field and pressed `CTRL` + `V` to paste. _It worked! ✅_
5. I clicked on the composer textarea field and pressed `CTRL` + `V` to paste. _It worked! ✅_
6. Click on `cancel`. _It worked! ✅_
7. Re-did steps 1-6 and tried ✖. _It worked! ✅_

I have tried Chrome 69.0.3497.100 and Firefox 62.0 on Ubuntu 18.10. I did this here, on Meta.

---

<div class="post-metadata">

### Author: ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)
#### Post date: [September 20, 2018, 8:59am UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/7 "2018-09-20T08:59:27Z")

</div>

For me this happens both on firefox and chrome, on windows.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [September 20, 2018, 9:26am UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/8 "2018-09-20T09:26:41Z")

</div>

Both Firefox and Chrome on Win10 and Ubuntu, see

 ![canned-bug](https://global.discourse-cdn.com/meta/original/3X/b/6/b6fc877a4a5ff86d1344dd7c047ee10496c752d5.gif)

Please note that the canned reply already has a title (“test”). This is the title of a canned reply that I had created and then deleted (via the trash icon) a few minutes before.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [September 20, 2018, 9:29am UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/9 "2018-09-20T09:29:19Z")

</div>

Aha! Got it. When you said that `cancel` or ✖ buttons do not work, I was under the impression that the modal would not close.

Thanks!

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [January 7, 2019, 11:55am UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/10 "2019-01-07T11:55:03Z")

</div>

I fixed the bug @dax reported a while back when I did the other general improvements.

About the other, I still cannot reproduce it. @tobiaseigen, can you please try again now and let me know if it still happens for you?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 4, 2019, 2:05am UTC](https://meta.discourse.org/t/unable-to-copy-paste-into-a-new-canned-message/97463/11 "2019-05-04T02:05:15Z")

</div>


