diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index fd4429cee..3f80f6b10 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -1252,7 +1252,7 @@ export class WYSIWYG { this.element.addEventListener("input", (event: InputEvent) => { const target = event.target as HTMLElement; - if (target.tagName === "VIDEO" || target.tagName === "AUDIO" || event.inputType === "historyRndo") { + if (target.tagName === "VIDEO" || target.tagName === "AUDIO" || event.inputType === "historyRedo") { return; } /// #if !BROWSER