From 736c09fc79df0a292d772670b42c6917b405fcf3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 28 Nov 2024 23:23:16 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12516 --- app/src/menus/protyle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 1e1d0744b..9b413e19f 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -991,7 +991,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme hideElements(["util", "toolbar", "hint"], protyle); const id = nodeElement.getAttribute("data-node-id"); const imgElement = assetElement.querySelector("img"); - const titleElement = assetElement.querySelector(".protyle-action__title") as HTMLElement; + const titleElement = assetElement.querySelector(".protyle-action__title span") as HTMLElement; const html = nodeElement.outerHTML; if (!protyle.disabled) { window.siyuan.menus.menu.append(new MenuItem({