diff --git a/src/Events/AppEvents.ts b/src/Events/AppEvents.ts index 6cb2529..3aabbee 100644 --- a/src/Events/AppEvents.ts +++ b/src/Events/AppEvents.ts @@ -73,6 +73,6 @@ function GetDefaultEditorState( eventInitDict?: CustomEventInit): void { const configuration: IConfiguration = eventInitDict?.detail; const editorState = GetDefaultEditorStateAction(configuration); - const customEvent = new CustomEvent('reviveHistory', { detail: editorState }); + const customEvent = new CustomEvent('getDefaultEditorState', { detail: editorState }); root.dispatchEvent(customEvent); }