diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts index 43c9e3872..b6fa855f6 100644 --- a/app/src/menus/protyle.ts +++ b/app/src/menus/protyle.ts @@ -212,7 +212,7 @@ export const fileAnnotationRefMenu = (protyle: IProtyle, refElement: HTMLElement iconHTML: "", type: "readonly", label: `
ID
- +
${window.siyuan.languages.anchor}
`, @@ -902,7 +902,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme iconHTML: "", type: "readonly", label: `
${window.siyuan.languages.imageURL}
- +
${window.siyuan.languages.title}
@@ -997,7 +997,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLEleme submenu: [{ iconHTML: "", type: "readonly", - label: ``, + label: ``, bind(element) { element.style.maxWidth = "none"; fetchPost("/api/asset/getImageOCRText", { @@ -1130,7 +1130,7 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusText iconHTML: "", type: "readonly", label: `
${window.siyuan.languages.link}
- +
${window.siyuan.languages.anchor}
@@ -1467,7 +1467,7 @@ export const iframeMenu = (protyle: IProtyle, nodeElement: Element) => { const subMenus: IMenu[] = [{ iconHTML: "", type: "readonly", - label: ``, + label: ``, bind(element) { element.style.maxWidth = "none"; element.querySelector("textarea").addEventListener("change", (event) => { @@ -1537,7 +1537,7 @@ export const videoMenu = (protyle: IProtyle, nodeElement: Element, type: string) const subMenus: IMenu[] = [{ iconHTML: "", type: "readonly", - label: ``, + label: ``, bind(element) { element.style.maxWidth = "none"; element.querySelector("textarea").addEventListener("change", (event) => {