Back to Devexpress

RichEditCommands.backspace Property

aspnet-js-richeditcommands-9e0c4050.md

latest1.4 KB
Original Source

RichEditCommands.backspace Property

Gets a command to move the cursor backwards and erase characters in a selected range.

Declaration

ts
get backspace(): BackspaceCommand

Property Value

TypeDescription
BackspaceCommand

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.backspace.execute();

To delete fields and tables using this command, they should be selected completely.

To delete table elements, use the corresponding methods (deleteTable, deleteTableCellsWithShiftHorizontally, deleteTableCellsWithShiftVertically).

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

See Also

RichEditCommands Class

RichEditCommands Members