Skip to main content
cut

RichEditCommands.backspace Property

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

Declaration

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

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

See Also