diff --git a/src/Events/EditorEvents.ts b/src/Events/EditorEvents.ts index aa90c79..c572bda 100644 --- a/src/Events/EditorEvents.ts +++ b/src/Events/EditorEvents.ts @@ -54,7 +54,6 @@ function SetHistory(root: Element | Document, eventInitDict?: CustomEventInit): void { const history: IHistoryState[] = eventInitDict?.detail.history; const historyCurrentStep: number | undefined = eventInitDict?.detail.historyCurrentStep; - ReviveHistoryAction(history); setNewHistory(history, historyCurrentStep); const customEvent = new CustomEvent('setHistory', { detail: editorState }); root.dispatchEvent(customEvent);