Skip to content

Commit

Permalink
🎨 #12516
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Nov 28, 2024
1 parent b6b9218 commit 736c09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/menus/protyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 736c09f

Please sign in to comment.