Back to Devexpress

RichEditCommands.undo Property

aspnet-js-richeditcommands-b72a3e33.md

latest957 B
Original Source

RichEditCommands.undo Property

Gets a command to cancel changes caused by the previous command.

Declaration

ts
get undo(): UndoCommand

Property Value

TypeDescription
UndoCommand

An object that provides methods that execute the command and check its state.

|

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

javascript
richEdit.commands.undo.execute();

Refer to the following section for more information: Client Commands.

See Also

RichEditCommands Class

RichEditCommands Members