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: https://github.com/siyuan-note/siyuan/issues/12491
Vanessab333dacdaaae
diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.tsindex 366aa570ed..208a2a1f07 100644--- a/app/src/protyle/render/av/blockAttr.ts+++ b/app/src/protyle/render/av/blockAttr.ts@@ -62,7 +62,7 @@ export const genAVValueHTML = (value: IAVCellValue) => {html = `<textarea style="resize: vertical" rows="${value.text.content.split("\n").length}" class="b3-text-field b3-text-field--text fn__flex-1">${value.text.content}</textarea>`;break;case "number":- html = `<input value="${typeof value.number.content === "number" ? value.number.content : ""}" type="number" class="b3-text-field b3-text-field--text fn__flex-1">+ html = `<input data-format="${value.number.format}" value="${value.number.isNotEmpty ? typeof value.number.content : ""}" type="number" class="b3-text-field b3-text-field--text fn__flex-1"><span class="fn__space"></span><span class="fn__flex-center ft__on-surface b3-tooltips__w b3-tooltips" aria-label="${window.siyuan.languages.format}">${value.number.formattedContent}</span><span class="fn__space"></span>`;break;case "mSelect":@@ -343,6 +343,10 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"]rowID: item.parentElement.dataset.blockId,cellID: item.parentElement.dataset.id,value+ }, (response) => {+ if (type === "number") {+ item.parentElement.querySelector(".fn__flex-center").textContent = response.data.formattedContent;+ }});});});