What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

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 3.0.195.33: 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
2  
I can replicate this in Firefox. –  ベレアー アダム Dec 14 '09 at 20:35
2  
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. –  staticx Dec 14 '09 at 21:05
    
Concur. Mozilla Firefox requires double paste.. –  staticx Dec 14 '09 at 21:06
1  
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 .