diff --git a/apps/octra/src/app/core/component/transcr-editor/transcr-editor.component.ts b/apps/octra/src/app/core/component/transcr-editor/transcr-editor.component.ts index 2323e8d7a..86f152051 100644 --- a/apps/octra/src/app/core/component/transcr-editor/transcr-editor.component.ts +++ b/apps/octra/src/app/core/component/transcr-editor/transcr-editor.component.ts @@ -1803,9 +1803,9 @@ export class TranscrEditorComponent shortcutInfo: Shortcut ) => { if (shortcutInfo.name === 'undo') { - this.joditComponent?.jodit?.history.undo(); + this.joditComponent?.jodit?.history?.undo(); } else { - this.joditComponent?.jodit?.history.redo(); + this.joditComponent?.jodit?.history?.redo(); } this.triggerTyping(); };