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/15341
Vanessa78c3479fc3b4
diff --git a/app/src/block/util.ts b/app/src/block/util.tsindex 24d5532f40..0b49ffcdf4 100644--- a/app/src/block/util.ts+++ b/app/src/block/util.ts@@ -10,6 +10,7 @@ import {blockRender} from "../protyle/render/blockRender";import {fetchPost, fetchSyncPost} from "../util/fetch";import {openFileById} from "../editor/util";import {openMobileFileById} from "../mobile/editor";+import {mathRender} from "../protyle/render/mathRender";export const cancelSB = async (protyle: IProtyle, nodeElement: Element, range?: Range) => {const doOperations: IOperation[] = [];@@ -73,6 +74,7 @@ export const cancelSB = async (protyle: IProtyle, nodeElement: Element, range?:});previousId = item.getAttribute("data-node-id");});+ mathRender(protyle.wysiwyg.element);// 超级块内嵌入块无面包屑,需重新渲染 https://github.com/siyuan-note/siyuan/issues/7574doOperations.forEach(item => {const element = protyle.wysiwyg.element.querySelector(`[data-node-id="${item.id}"]`);