An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/6299
Vanessac00d740a120a
diff --git a/app/src/protyle/header/Title.ts b/app/src/protyle/header/Title.tsindex 30e5dc242a..172c0d2c9d 100644--- a/app/src/protyle/header/Title.ts+++ b/app/src/protyle/header/Title.ts@@ -252,7 +252,8 @@ export class Title {private rename(protyle: IProtyle) {clearTimeout(this.timeout);if (!validateName(this.editElement.textContent)) {- const offset = getSelectionOffset(this.editElement)+ // 字数过长会导致滚动+ const offset = getSelectionOffset(this.editElement);this.setTitle(this.editElement.textContent.substring(0, Constants.SIZE_TITLE));focusByOffset(this.editElement, offset.start, offset.end);return false;