From 3839cff90c8eef8de24b605d198197114432201b Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 8 Jun 2023 23:19:41 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/7536 --- app/src/protyle/render/av/action.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index e8befeb5f..00e3dd783 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -116,6 +116,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle y: cellRect.bottom, h: cellRect.height }); + (window.siyuan.menus.menu.element.querySelector(".b3-text-field") as HTMLInputElement).select(); event.preventDefault(); event.stopPropagation(); return true;