This commit is contained in:
Vanessa 2022-08-15 17:36:14 +08:00
parent c375299d3e
commit b32ec745e7

View file

@ -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