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

Vanessa755d27c5da3f
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts
index b3c6d9ee82..f97b4d4786 100644
--- a/app/src/protyle/gutter/index.ts
+++ b/app/src/protyle/gutter/index.ts
@@ -755,6 +755,7 @@ export class Gutter {
});
});
copyPlainText(html.trimEnd());
+ focusBlock(selectsElement[0]);
}
}, {
label: window.siyuan.languages.duplicate,
@@ -1227,6 +1228,7 @@ export class Gutter {
text += item.textContent + "\n";
});
copyPlainText(text.trimEnd());
+ focusBlock(nodeElement);
}
}, {
label: window.siyuan.languages.duplicate,