cut

RichEditCommands.delete Property

Gets a command to delete text and in-line objects in a selected range.

Declaration

readonly delete: DeleteCommand

Property Value

Type Description
DeleteCommand

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

To delete table elements, use corresponding client commands (RichEditCommands.deleteTable, RichEditCommands.deleteTableColumns, RichEditCommands.deleteTableRows, RichEditCommands.deleteTableCellsWithShiftVertically, DeleteTableCellsWithShiftHorizontallyCommand)

See Also