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="false"
Vanessa46ed19f18e91
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex fcb69cbaae..9cfa6dc0a4 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -352,11 +352,11 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type}const style = `style="padding-top: 6.5px;position:absolute;left: ${cellRect.left}px;top: ${cellRect.top}px;width:${Math.max(cellRect.width, 25)}px;height: ${height}px"`;if (["text", "email", "phone", "block", "template"].includes(type)) {- html = `<textarea ${style} class="b3-text-field">${cellElements[0].firstElementChild.textContent}</textarea>`;+ html = `<textarea ${style} spellcheck="false" class="b3-text-field">${cellElements[0].firstElementChild.textContent}</textarea>`;} else if (type === "url") {- html = `<textarea ${style} class="b3-text-field">${cellElements[0].firstElementChild.getAttribute("data-href")}</textarea>`;+ html = `<textarea ${style} spellcheck="false" class="b3-text-field">${cellElements[0].firstElementChild.getAttribute("data-href")}</textarea>`;} else if (type === "number") {- html = `<input type="number" value="${cellElements[0].firstElementChild.getAttribute("data-content")}" ${style} class="b3-text-field">`;+ html = `<input type="number" spellcheck="false" value="${cellElements[0].firstElementChild.getAttribute("data-content")}" ${style} class="b3-text-field">`;} else {if (["select", "mSelect"].includes(type)) {openMenuPanel({protyle, blockElement, type: "select", cellElements});diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.tsindex 16b8364758..b1cb279822 100644--- a/app/src/protyle/render/av/col.ts+++ b/app/src/protyle/render/av/col.ts@@ -175,7 +175,7 @@ export const getEditHTML = (options: {} else if (colData.type === "template") {html += `<button class="b3-menu__separator"></button><button class="b3-menu__item" data-type="nobg">- <textarea rows="${colData.template.split("\n").length}" placeholder="${window.siyuan.languages.template}" data-type="updateTemplate" style="margin: 4px 0" rows="1" class="fn__block b3-text-field">${colData.template}</textarea>+ <textarea spellcheck="false" rows="${colData.template.split("\n").length}" placeholder="${window.siyuan.languages.template}" data-type="updateTemplate" style="margin: 4px 0" rows="1" class="fn__block b3-text-field">${colData.template}</textarea></button>`;} else if (colData.type === "relation") {const isSelf = colData.relation?.avID === options.data.id;