Vanessa 2024-06-25 15:19:38 +08:00
parent 76f0bf47ad
commit dabe382926

View file

@ -1283,7 +1283,7 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusText
label: window.siyuan.languages.copy,
icon: "iconCopy",
click() {
let title = linkElement.dataset.title;
let title = linkElement.dataset.title || "";
if (title) {
title = ` "${title}"`;
}