An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:iphone: 键盘收起
Vanessafbf1b632ee02
diff --git a/app/src/mobile/util/showKeyboardToolbar.ts b/app/src/mobile/util/showKeyboardToolbar.tsindex 78fd2adbbb..6f0c4db21f 100644--- a/app/src/mobile/util/showKeyboardToolbar.ts+++ b/app/src/mobile/util/showKeyboardToolbar.ts@@ -85,8 +85,10 @@ export const initKeyboardToolbar = () => {}if (type === "outdent") {listOutdent(protyle, [nodeElement.parentElement], range);+ focusByRange(range);} else if (type === "indent") {listIndent(protyle, [nodeElement.parentElement], range);+ focusByRange(range);}});};diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.tsindex 2954911091..cb1ea3eba6 100644--- a/app/src/protyle/toolbar/index.ts+++ b/app/src/protyle/toolbar/index.ts@@ -621,6 +621,9 @@ export class Toolbar {if (wbrElement) {wbrElement.remove();}+ if (isMobile()) {+ focusByRange(this.range);+ }}public showFileAnnotationRef(protyle: IProtyle, refElement: HTMLElement) {