Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/10049

Vanessa0a41dc392c98
diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts
index 6188102f81..f2f7228687 100644
--- a/app/src/protyle/render/av/blockAttr.ts
+++ b/app/src/protyle/render/av/blockAttr.ts
@@ -412,6 +412,14 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"]
}
};
}
+ } else if (type === "block") {
+ value = {
+ block: {
+ content: item.value,
+ id: item.parentElement.dataset.blockId,
+ },
+ isDetached: false
+ };
}
fetchPost("/api/av/setAttributeViewBlockAttr", {
avID: item.parentElement.dataset.avId,