Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

The editor doesn't seem to know when a paste occurs.

Example: Open a new editor (either to write a new post or to edit an existing one), and paste some text as the first thing you do. Notice that the undo button is not enabled and Ctrl+Z (since it is overridden by the editor) doesn't work either. You can right-click in the textarea and select "undo", since the editor doesn't override that.

As a sidenote, why is the editor even handling undo? All the browsers already do that anyway.

Update: I've tested on all the browsers I have here on my work PC (WinXP SP3).

  • Internet Explorer 8.0.6001.18702: Non-reproducible
  • Safari 4 Public Beta (528.17): Reproduced
  • Opera 9.64: Reproduced
  • Firefox 3.5.5: Reproduced
  • Chrome Reproduced

In addition, on Safari, Chrome, and Firefox, pasting twice in a row enables the edit button, while in Opera I can paste all day and it is never enabled. Also, if the pastes are not consecutive (i.e. if I paste, click elsewhere, and paste again) the undo button is not enabled in Safari/Chrome/Firefox.

share|improve this question
I can replicate this in Firefox. – ベレアー アダム Dec 14 '09 at 20:35
Oddly enough, pasting something twice will trigger the Undo button. I can replicate this in FireFox and Chrome, but not IE8 – Brandon Dec 14 '09 at 20:41
Can replicate the same in Chrome 4.0.266 – Sathya Dec 14 '09 at 20:52
Concur. Can't replicate in IE 8.0.6001.18702. – Brian Dec 14 '09 at 21:05
Concur. Mozilla Firefox requires double paste.. – Brian Dec 14 '09 at 21:06
See also Ctrl+Z undoes twice in editor – bobobobo Oct 27 '13 at 17:47

You must log in to answer this question.

Browse other questions tagged .