An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: spellcheck
Vanessa08208171be98
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex 43c9e38729..b6fa855f65 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -212,7 +212,7 @@ export const fileAnnotationRefMenu = (protyle: IProtyle, refElement: HTMLElementiconHTML: "",type: "readonly",label: `<div>ID</div>-<textarea rows="1" style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" class="b3-text-field" readonly>${refElement.getAttribute("data-id") || ""}</textarea>+<textarea spellcheck="false" rows="1" style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" class="b3-text-field" readonly>${refElement.getAttribute("data-id") || ""}</textarea><div class="fn__hr"></div><div>${window.siyuan.languages.anchor}</div><textarea rows="1" style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" class="b3-text-field"></textarea>`,@@ -902,7 +902,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLElemeiconHTML: "",type: "readonly",label: `<div>${window.siyuan.languages.imageURL}</div>-<textarea style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" rows="1" class="b3-text-field">${imgElement.getAttribute("src")}</textarea>+<textarea spellcheck="false" style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" rows="1" class="b3-text-field">${imgElement.getAttribute("src")}</textarea><div class="fn__hr"></div><div>${window.siyuan.languages.title}</div><textarea style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" rows="1" class="b3-text-field"></textarea>@@ -997,7 +997,7 @@ export const imgMenu = (protyle: IProtyle, range: Range, assetElement: HTMLElemesubmenu: [{iconHTML: "",type: "readonly",- label: `<textarea data-type="ocr" style="margin: 4px 0" rows="1" class="b3-text-field fn__size200" placeholder="${window.siyuan.languages.ocrResult}"></textarea>`,+ label: `<textarea spellcheck="false" data-type="ocr" style="margin: 4px 0" rows="1" class="b3-text-field fn__size200" placeholder="${window.siyuan.languages.ocrResult}"></textarea>`,bind(element) {element.style.maxWidth = "none";fetchPost("/api/asset/getImageOCRText", {@@ -1130,7 +1130,7 @@ export const linkMenu = (protyle: IProtyle, linkElement: HTMLElement, focusTexticonHTML: "",type: "readonly",label: `<div>${window.siyuan.languages.link}</div>-<textarea rows="1" style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" class="b3-text-field"></textarea>+<textarea spellcheck="false" rows="1" style="margin:4px 0;width: ${isMobile() ? "200" : "360"}px" class="b3-text-field"></textarea><div class="fn__hr"></div><div>${window.siyuan.languages.anchor}</div><textarea style="width: ${isMobile() ? "200" : "360"}px;margin: 4px 0;" rows="1" class="b3-text-field"></textarea>@@ -1467,7 +1467,7 @@ export const iframeMenu = (protyle: IProtyle, nodeElement: Element) => {const subMenus: IMenu[] = [{iconHTML: "",type: "readonly",- label: `<textarea rows="1" class="b3-text-field fn__size200" placeholder="${window.siyuan.languages.link}" style="margin: 4px 0">${iframeElement.getAttribute("src") || ""}</textarea>`,+ label: `<textarea spellcheck="false" rows="1" class="b3-text-field fn__size200" placeholder="${window.siyuan.languages.link}" style="margin: 4px 0">${iframeElement.getAttribute("src") || ""}</textarea>`,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: `<textarea rows="1" style="margin: 4px 0" class="b3-text-field" placeholder="${window.siyuan.languages.link}">${videoElement.getAttribute("src")}</textarea>`,+ label: `<textarea spellcheck="false" rows="1" style="margin: 4px 0" class="b3-text-field" placeholder="${window.siyuan.languages.link}">${videoElement.getAttribute("src")}</textarea>`,bind(element) {element.style.maxWidth = "none";element.querySelector("textarea").addEventListener("change", (event) => {