Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/13008

Vanessa28c217e7a278
diff --git a/app/src/protyle/wysiwyg/renderBacklink.ts b/app/src/protyle/wysiwyg/renderBacklink.ts
index 56764b08a4..829ab3c0d4 100644
--- a/app/src/protyle/wysiwyg/renderBacklink.ts
+++ b/app/src/protyle/wysiwyg/renderBacklink.ts
@@ -20,7 +20,7 @@ export const renderBacklink = (protyle: IProtyle, backlinkData: {
});
protyle.wysiwyg.element.innerHTML = html;
protyle.wysiwyg.element.querySelectorAll(".protyle-breadcrumb__bar .protyle-breadcrumb__item--active").forEach((item:HTMLElement) => {
- item.parentElement.scrollLeft = item.offsetLeft
+ item.parentElement.scrollLeft = item.offsetLeft;
});
processRender(protyle.wysiwyg.element);
highlightRender(protyle.wysiwyg.element);