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/7885
Vanessa98eb307a28c9
diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.tsindex ec52cba473..034cd2d7c5 100644--- a/app/src/mobile/util/keyboardToolbar.ts+++ b/app/src/mobile/util/keyboardToolbar.ts@@ -148,12 +148,13 @@ const renderSlashMenu = (protyle: IProtyle, toolbarElement: Element) => {const showKeyboardToolbarUtil = (oldScrollTop: number) => {window.siyuan.menus.menu.remove();showUtil = true;++ const toolbarElement = document.getElementById("keyboardToolbar");+ const keyboardHeight = (parseInt(toolbarElement.getAttribute("data-keyboardheight")) + 42) + "px";+ window.siyuan.mobile.editor.protyle.element.style.marginBottom = keyboardHeight;+ window.siyuan.mobile.editor.protyle.contentElement.scrollTop = oldScrollTop;setTimeout(() => {- const toolbarElement = document.getElementById("keyboardToolbar");- const keyboardHeight = (parseInt(toolbarElement.getAttribute("data-keyboardheight")) + 42) + "px";toolbarElement.style.height = keyboardHeight;- window.siyuan.mobile.editor.protyle.element.style.marginBottom = keyboardHeight;- window.siyuan.mobile.editor.protyle.contentElement.scrollTop = oldScrollTop;}, Constants.TIMEOUT_TRANSITION); // 防止抖动setTimeout(() => {showUtil = false;