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/13851

Vanessa4da7de45ea7f
diff --git a/app/src/layout/tabUtil.ts b/app/src/layout/tabUtil.ts
index a5d49533ab..677725f906 100644
--- a/app/src/layout/tabUtil.ts
+++ b/app/src/layout/tabUtil.ts
@@ -274,6 +274,7 @@ export const copyTab = (app: App, tab: Tab) => {
if (copyResizeTopElement) {
const newElement = editor.protyle.wysiwyg.element.querySelector(`[data-node-id="${copyResizeTopElement.getAttribute("data-node-id")}"]`)
if (newElement) {
+ editor.protyle.observerLoad?.disconnect();
newElement.scrollIntoView();
editor.protyle.contentElement.scrollTop += newElement.getBoundingClientRect().top - parseInt(copyResizeTopElement.getAttribute("data-resize-top"));
}