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.
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
Comment #1
ufku commentedMost 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.
Comment #2
ufku commentedComment #3
dwwBased 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...
Comment #4
ufku commentedWith 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)