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/8554

Vanessa398c38356768
diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts
index 260c880f16..6eef45c0af 100644
--- a/app/src/protyle/toolbar/index.ts
+++ b/app/src/protyle/toolbar/index.ts
@@ -234,6 +234,7 @@ export class Toolbar {
item.classList.remove("protyle-toolbar__item--current");
});
this.element.querySelector('[data-type="a"]')?.toggleAttribute("disabled", isCrossBlock);
+ this.element.querySelector('[data-type="block-ref"]')?.toggleAttribute("disabled", isCrossBlock);
const types = this.getCurrentType();
types.forEach(item => {
if (["search-mark", "a", "block-ref", "virtual-block-ref", "text", "file-annotation-ref", "inline-math",