Fix getDefaultEditorState callback
This commit is contained in:
parent
49e051059e
commit
b64bc8cb6a
1 changed files with 1 additions and 1 deletions
|
@ -73,6 +73,6 @@ function GetDefaultEditorState(
|
|||
eventInitDict?: CustomEventInit): void {
|
||||
const configuration: IConfiguration = eventInitDict?.detail;
|
||||
const editorState = GetDefaultEditorStateAction(configuration);
|
||||
const customEvent = new CustomEvent<IEditorState>('reviveHistory', { detail: editorState });
|
||||
const customEvent = new CustomEvent<IEditorState>('getDefaultEditorState', { detail: editorState });
|
||||
root.dispatchEvent(customEvent);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue