From d4133473a455c526137c923dc05c598caad6cc59 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 20 Sep 2024 11:42:34 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12004 --- app/src/protyle/wysiwyg/index.ts | 1 + 1 file changed, 1 insertion(+) 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,