From 08208171be98f5d722aae9305ec3ce050fc7df54 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 12 Apr 2024 23:50:24 +0800 Subject: [PATCH] :art: spellcheck --- app/src/menus/protyle.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) => {