diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index a85dfa710..c6ab494ea 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -2155,6 +2155,7 @@ export class WYSIWYG { action, zoomIn }); + window.dispatchEvent(new KeyboardEvent("keydown", {key: "Escape"})); } else if (event.altKey) { openFileById({ app: protyle.app,