cut

RichEditCommands.moveContent Property

Gets a command to move the selected range.

Declaration

readonly moveContent: MoveContentCommand

Property Value

Type Description
MoveContentCommand

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

Remarks

Call the execute(position) 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.moveContent.execute(3);
See Also