An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/5989
Vanessaf01ca18ba2d1
diff --git a/app/src/util/backForward.ts b/app/src/util/backForward.tsindex 4bf99c63f6..2d64dbd5c2 100644--- a/app/src/util/backForward.ts+++ b/app/src/util/backForward.ts@@ -135,7 +135,7 @@ const focusStack = async (stack: IBackStack) => {mode: stack.isZoom ? 0 : 3,size: stack.isZoom ? Constants.SIZE_GET_MAX : Constants.SIZE_GET,}, getResponse => {- onGet(getResponse, stack.protyle);+ onGet(getResponse, stack.protyle, [Constants.CB_GET_HTML]);Array.from(stack.protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${stack.id}"]`)).find(item => {if (!hasClosestByAttribute(item, "data-type", "NodeBlockQueryEmbed")) {blockElement = item;@@ -170,7 +170,7 @@ const focusStack = async (stack: IBackStack) => {mode: stack.isZoom ? 0 : 3,size: stack.isZoom ? Constants.SIZE_GET_MAX : Constants.SIZE_GET,}, getResponse => {- onGet(getResponse, stack.protyle);+ onGet(getResponse, stack.protyle, [Constants.CB_GET_HTML]);Array.from(stack.protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${stack.id}"]`)).find(item => {if (!hasClosestByAttribute(item, "data-type", "NodeBlockQueryEmbed")) {blockElement = item;