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: fix https://github.com/siyuan-note/siyuan/issues/8789
Vanessaedcd37215490
diff --git a/app/src/boot/globalShortcut.ts b/app/src/boot/globalShortcut.tsindex 2ed24de466..d977a960b6 100644--- a/app/src/boot/globalShortcut.ts+++ b/app/src/boot/globalShortcut.ts@@ -111,6 +111,9 @@ export const globalShortcut = (app: App) => {item.classList.remove("protyle-breadcrumb__bar--hide");});window.siyuan.hideBreadcrumb = false;+ getAllModels().editor.forEach(item => {+ item.editor.protyle.breadcrumb.render(item.editor.protyle, true);+ });}if (event.buttons === 0 && // 鼠标按键被按下时不触发window.siyuan.layout.bottomDock &&diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 45c0d2ec37..b96b160d58 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -2003,6 +2003,12 @@ export class WYSIWYG {range.selectNodeContents(emptyEditElement);range.collapse(true);focusByRange(range);+ // 需等待 range 更新再次进行渲染+ if (protyle.options.render.breadcrumb) {+ setTimeout(() => {+ protyle.breadcrumb.render(protyle);+ }, Constants.TIMEOUT_TRANSITION)+ }} else if (lastEditElement) {range.selectNodeContents(lastEditElement);range.collapse(false);