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/6200
Vanessab002cd46ca63
diff --git a/app/src/protyle/wysiwyg/renderBacklink.ts b/app/src/protyle/wysiwyg/renderBacklink.tsindex 1b2effdf7e..a86cabb30f 100644--- a/app/src/protyle/wysiwyg/renderBacklink.ts+++ b/app/src/protyle/wysiwyg/renderBacklink.ts@@ -72,13 +72,18 @@ export const loadBreadcrumb = (protyle: IProtyle, element: HTMLElement) => {tempElement.remove();}element.parentElement.insertAdjacentHTML("afterend", setBacklinkFold(getResponse.data.content, true));- processRender(protyle.wysiwyg.element);- highlightRender(protyle.wysiwyg.element);- blockRender(protyle, protyle.wysiwyg.element);+ processRender(element.parentElement.parentElement);+ highlightRender(element.parentElement.parentElement);+ blockRender(protyle, element.parentElement.parentElement);if (getResponse.data.isSyncing) {disabledForeverProtyle(protyle);} else if (window.siyuan.config.readonly || window.siyuan.config.editor.readOnly) {disabledProtyle(protyle);+ } else if (element.parentElement.parentElement.classList.contains("protyle-wysiwyg__embed")) {+ // 嵌入块+ element.parentElement.parentElement.querySelectorAll('[contenteditable="true"][spellcheck]').forEach(item => {+ item.setAttribute("contenteditable", "false");+ });}});};