I finally figured out why the text editor sometimes behaves unexpectedly. Basically it doesn't consider cut or paste as undoable operations. So, if I cut something, there is no entry in the undo stack, and if I paste, it doesn't count as undoable either.

This is a problem in weird cases, like say you do the following operations:

  1. Format text via CTRL+K
  2. Cut out several lines of text via CTRL+X
  3. Paste in some foreign text.
  4. Hit UNDO to remove that foreign text.
  5. Suddenly you are back at step 1), where you just formatted the text.

Many other scenarios are possible. Kinda frustrating.


  • 2
    What browser are you using?
    – Shog9
    Oct 27 '13 at 17:54
  • @Shog9: I get the same history issues with cut and paste on Firefox. Oct 27 '13 at 17:55
  • Ok - reproduced so far in Chrome, Firefox and IE 11..
    – Shog9
    Oct 27 '13 at 17:59
  • I'm on a Chrome/Mac OS right now. Also happens in Safari/Mac OS.
    – bobobobo
    Oct 27 '13 at 19:09
  • Not unrelated: Is there a way to disable the hotkeys?. Disabling hotkeys means losing CTRL+K for formatting (but retaining it for killing), and at least on OSX undo/redo is handled better natively.
    – blahdiblah
    Oct 28 '13 at 18:07

You must log in to answer this question.

Browse other questions tagged .