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/7564
Vanessaba5f10eb52a3
diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.tsindex d9b3246151..cfaa568c74 100644--- a/app/src/mobile/util/keyboardToolbar.ts+++ b/app/src/mobile/util/keyboardToolbar.ts@@ -6,7 +6,7 @@ import {focusByRange, getSelectionPosition} from "../../protyle/util/selection";import {removeBlock} from "../../protyle/wysiwyg/remove";import {hintSlash} from "../../protyle/hint/extend";-export const showKeyboardToolbar = (bottom = 0, height: number) => {+export const showKeyboardToolbar = (height: number) => {if (getSelection().rangeCount === 0 || window.siyuan.config.editor.readOnly || window.siyuan.config.readonly) {return;}@@ -17,8 +17,6 @@ export const showKeyboardToolbar = (bottom = 0, height: number) => {return;}toolbarElement.classList.remove("fn__none");- toolbarElement.style.bottom = bottom + "px";-const range = getSelection().getRangeAt(0);if (!window.siyuan.mobile.editor ||!window.siyuan.mobile.editor.protyle.wysiwyg.element.contains(range.startContainer)) {diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex d75e54dc9e..42d13da3c9 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -49,7 +49,7 @@ interface Window {goBack(): void- showKeyboardToolbar(bottom: number, height: number): void+ showKeyboardToolbar(height: number): voidhideKeyboardToolbar(): void