Specifications
488
dom.undo()
Availability
Dreamweaver 3
Description
Undoes the previous step in the document.
Arguments
None.
Returns
Nothing.
Enabler
“dom.canUndo()” on page 417
dreamweaver.getRedoText()
Availability
Dreamweaver 3
Description
Gets the text associated with the editing operation that will be redone if the user selects Edit >
Redo or presses Control+Y (Windows) or Command+Y (Macintosh).
Arguments
None.
Returns
A string that contains the text associated with the editing operation that will be redone.
Example
If the user’s last action was to make the selection bold, a call to dw.getRedoText() returns
"Repeat Apply Bold".
dreamweaver.getUndoText()
Availability
Dreamweaver 3
Description
Gets the text associated with the editing operation that will be undone if the user selects Edit >
Undo or presses Control+Z (Windows) or Command+Z (Macintosh).
Arguments
None.
Returns
A string that contains the text associated with the editing operation that will be undone.
Example
If the user’s last action was to apply a CSS style to a selected range of text, a call to
dw.getUndoText() returns "Undo Apply <span>".