Support for undo
airblaster - February 16, 2007 - 23:49
| Project: | BUEditor |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
It would be nice if there was support for undo (like with tinyMCS).
Right now, if I enter code by using BUEditor I can't use ctrl-z to undo any previous changes.

#1
Most browsers(at least IE and FF) natively support undo/redo for textareas. It's not very feasible to track changes and save an extra undo history when there is already one.
The problem with the default editor is that you can not undo after previewing, because undo history is lost when the textarea becomes invisible. The solution is to create a preview button that preserves the textarea's visibility.
#2
#3
Based on #478296: Native browser undo doesn't work in Safari 3 (where it turns out only FF gets this right in all cases), looks like we need to reopen this issue and consider bueditor-provided history that works for each text area...