cut

RichEditCommands.backspace Property

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

Declaration

readonly backspace: BackspaceCommand

Property Value

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


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 (RichEditCommands.deleteTable, RichEditCommands.deleteTableCellsWithShiftHorizontally, RichEditCommands.deleteTableCellsWithShiftVertically).

See Also