Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/5233

Vanessaf23764fee094
diff --git a/app/src/protyle/header/Title.ts b/app/src/protyle/header/Title.ts
index d7c9a00f86..09337837ac 100644
--- a/app/src/protyle/header/Title.ts
+++ b/app/src/protyle/header/Title.ts
@@ -48,6 +48,7 @@ export class Title {
range.deleteContents();
range.insertNode(document.createTextNode(replaceFileName(event.clipboardData.getData("text/plain"))));
range.collapse(false);
+ this.rename(protyle);
});
this.editElement.addEventListener("click", () => {
if (protyle.model) {