Skip to content

Doc.clearHistory method

Doc › clearHistory

Unofficial

Clears the editor's undo history.

Signature:

clearHistory(): void

Returns: void