diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 1e9f69be5..f0254249c 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -699,7 +699,7 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusText const html = nodeElement.outerHTML; const linkAddress = linkElement.getAttribute("data-href"); window.siyuan.menus.menu.append(new MenuItem({ - label: `
`, + label: ``, bind(element) { const inputElement = element.querySelector("textarea"); inputElement.value = linkAddress || ""; @@ -719,7 +719,7 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusText } }).element); window.siyuan.menus.menu.append(new MenuItem({ - label: ``, + label: ``, bind(element) { const inputElement = element.querySelector("textarea"); // https://github.com/siyuan-note/siyuan/issues/6798 @@ -761,7 +761,7 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusText } }).element); window.siyuan.menus.menu.append(new MenuItem({ - label: ``, + label: ``, bind(element) { const inputElement = element.querySelector("textarea"); inputElement.value = Lute.UnEscapeHTMLStr(linkElement.getAttribute("data-title") || "");