# Cannot undo pasted text in composer with ctrl-z

**URL:** https://meta.discourse.org/t/cannot-undo-pasted-text-in-composer-with-ctrl-z/212177
**Category:** Support
**Created:** [December 15, 2021, 10:58am UTC](https://meta.discourse.org/t/cannot-undo-pasted-text-in-composer-with-ctrl-z/212177 "2021-12-15T10:58:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)
#### Post date: [December 15, 2021, 10:58am UTC](https://meta.discourse.org/t/cannot-undo-pasted-text-in-composer-with-ctrl-z/212177/1 "2021-12-15T10:58:10Z")

</div>

Hi, I am sorry for this topic. I have read relative [Ctrl+Z does not undo my previous step](https://meta.discourse.org/t/ctrl-z-does-not-undo-my-previous-step/23507) and others. There it was discussed about undo bold text in markdown. I am talking about pure pasting.

I checked in FF and Edge (Windows 11), and found that when I paste some text into composer window without replacing, I cannot immediately undo the paste using ctrl+z.

Anyway undo works fine in topic title field and for replaced text.

Is it okay? I found that usually browsers undo typed and pasted text with ctrl+z.

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [December 15, 2021, 11:19am UTC](https://meta.discourse.org/t/cannot-undo-pasted-text-in-composer-with-ctrl-z/212177/2 "2021-12-15T11:19:40Z")

</div>

> [@Ivan\_Rapekas](#):
>
> Is it okay? I found that usually browsers undo typed and pasted text with ctrl+z.

I tried a few text operations, and Ctrl + z applied `undo` as expected each time; tested with Firefox (Flatpak, PureOS and Fedora).

It’s an old reply, but:

> [@Ctrl+Z does not undo my previous step](https://meta.discourse.org/t/ctrl-z-does-not-undo-my-previous-step/23507/2):
>
> This is 100% browser and OS specific, we do not override the default browser text box handling of these keys. You can experiment here: Take [http://codepen.io/anon/pen/uryJl](http://codepen.io/anon/pen/uryJl) which contains a plain html text box. In different web browsers, type in test line one test line two test line three And then try ctrl+z. Depends on the browser and whether you naturally pause or not when typing. Play with it and see.

I don’t use Windows 11, is there perhaps a setting for that at the OS level? 🤔

---

<div class="post-metadata">

### Author: ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)
#### Post date: [December 15, 2021, 11:26am UTC](https://meta.discourse.org/t/cannot-undo-pasted-text-in-composer-with-ctrl-z/212177/3 "2021-12-15T11:26:53Z")

</div>

Thank you for testing and quick reply!

I did read that old answer. I checked [codepen.io](http://codepen.io), ctrl+z worked as expected there. The problem is in composer window. Can reproduce on [try.discourse.org](http://try.discourse.org). Later I will check Ubuntu and RedOS (currently no access to machines).

I did not find any specific setting for undo or such hotkey in Win11 ☹

---

<div class="post-metadata">

### Author: ![Ivan\_Rapekas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ivan_rapekas/32/248924_2.png) [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)
#### Post date: [January 13, 2022, 5:25am UTC](https://meta.discourse.org/t/cannot-undo-pasted-text-in-composer-with-ctrl-z/212177/4 "2022-01-13T05:25:28Z")

</div>

Seems this is floating weird. I checked pasting in Ubuntu FF and first I could reproduce this. After that no chance. Probably this is because fresh OS installation, who knows… Anyway this went away even on Windows from my initital report. Thanks for support!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 12, 2022, 5:26am UTC](https://meta.discourse.org/t/cannot-undo-pasted-text-in-composer-with-ctrl-z/212177/5 "2022-02-12T05:26:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
