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/12955
Vanessa5456d032c781
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex aa10d67ff2..f77ef81a7e 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -2244,7 +2244,7 @@ export class Gutter {let iconAriaLabel = isMac() ? window.siyuan.languages.rowTip : window.siyuan.languages.rowTip.replace("⇧", "Shift+");if (protyle.disabled) {iconAriaLabel = window.siyuan.languages.rowTip.substring(0, window.siyuan.languages.rowTip.indexOf("<br"))- } else if (rowElement.querySelector('[data-dtype="block"]').getAttribute("data-detached") === "true") {+ } else if (rowElement.querySelector('[data-dtype="block"]')?.getAttribute("data-detached") === "true") {iconAriaLabel = window.siyuan.languages.rowTip.substring(0, window.siyuan.languages.rowTip.lastIndexOf("<br"))}html = `<button data-type="NodeAttributeViewRowMenu" data-node-id="${dataNodeId}" data-row-id="${rowElement.dataset.id}" class="ariaLabel" data-position="right" aria-label="${iconAriaLabel}"><svg><use xlink:href="#iconDrag"></use></svg><span ${protyle.disabled ? "" : 'draggable="true" class="fn__grab"'}></span></button>`;diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex ccb1fc4785..10255d5115 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -1193,7 +1193,9 @@ export class Toolbar {protyle.app.plugins.forEach(item => {item.eventBus.emit("open-noneditableblock", {protyle,- toolbar: this+ toolbar: this,+ blockElement: nodeElement,+ renderElement,});});}