From 95a296383a960d76c1fc1cbe5ac608a36883cb9e Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 28 Feb 2025 09:35:46 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14226 --- app/src/menus/commonMenuItem.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts index cec380d7d..cee2d2207 100644 --- a/app/src/menus/commonMenuItem.ts +++ b/app/src/menus/commonMenuItem.ts @@ -23,6 +23,7 @@ import {renderAVAttribute} from "../protyle/render/av/blockAttr"; import {openAssetNewWindow} from "../window/openNewWindow"; import {escapeHtml} from "../util/escape"; import {copyTextByType} from "../protyle/toolbar/util"; +import {hideElements} from "../protyle/ui/hideElements"; const bindAttrInput = (inputElement: HTMLInputElement, id: string) => { inputElement.addEventListener("change", () => { @@ -244,6 +245,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I `, destroyCallback() { focusByRange(range); + hideElements(["select"], protyle) } }); dialog.element.setAttribute("data-key", Constants.DIALOG_ATTR);