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.

Comments

ufku’s picture

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.

ufku’s picture

Status: Active » Closed (won't fix)
dww’s picture

Status: Closed (won't fix) » Active

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...

ufku’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Status: Active » Fixed

With 2.x branch one can use E.undo() and E.redo() methods defined in bue.history.js(included in %BUEDITOR/library/bue.min.all.js)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.