The requested page is not available for the requested platform. You are viewing the content for Default platform.

History Class

Contains methods related to Rich Text Editor history.

Declaration

export class History

Remarks

An object of the History class can be accessed by the history property.

richEdit.history.undo();

Methods

beginTransaction Method

Specifies that the following actions should be saved as a single history transaction.

Declaration

beginTransaction(): void

Remarks

Use the beginTransaction and endTransaction methods to process several actions as a single history transaction.

endTransaction Method

Ends a history transaction.

Declaration

endTransaction(): void

Remarks

Use the beginTransaction and endTransaction methods to process several actions as a single history transaction.

redo Method

Redo the last undone action in the Rich Text Editor.

Declaration

redo(): void

Remarks

richEdit.history.redo();

undo Method

Undo the last action in the Rich Text Editor.

Declaration

undo(): void

Remarks

richEdit.history.undo();