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: https://github.com/siyuan-note/siyuan/issues/2621
Vanessa137428c48def
diff --git a/app/appearance/icons/index.html b/app/appearance/icons/index.htmlindex 7abb6e2f52..67dd479598 100644--- a/app/appearance/icons/index.html+++ b/app/appearance/icons/index.html@@ -794,13 +794,13 @@<svg><use xlink:href="#iconOutdent"></use></svg>- <del>iconOutdent</del>+ iconOutdent</div><div><svg><use xlink:href="#iconIndent"></use></svg>- <del>iconIndent</del>+ iconIndent</div><div><svg>diff --git a/app/src/assets/scss/mobile.scss b/app/src/assets/scss/mobile.scssindex 726648924c..d164c8efda 100644--- a/app/src/assets/scss/mobile.scss+++ b/app/src/assets/scss/mobile.scss@@ -248,6 +248,23 @@border-radius: 4px;}+#keyboardToolbar {+ position: fixed;+ bottom: 0;+ width: 100%;+ box-sizing: border-box;+ height: 32px;+ background: var(--b3-theme-background-light);++ svg {+ height: 18px;+ width: 18px;+ padding: 4px;+ margin: 4px;+ color: var(--b3-theme-on-surface);+ }+}+.svg {fill: currentColor;display: inline-block;diff --git a/app/src/assets/template/mobile/index.tpl b/app/src/assets/template/mobile/index.tplindex aa98a860a8..6af757a59e 100644--- a/app/src/assets/template/mobile/index.tpl+++ b/app/src/assets/template/mobile/index.tpl@@ -55,5 +55,11 @@<div id="commonMenu" class="b3-menu fn__none"></div><div id="message" class="b3-snackbars"></div><div id="status" class="status status--hide"></div>+<div id="keyboardToolbar" class="fn__none">+ <svg><use xlink:href="#iconUndo"></use></svg>+ <svg><use xlink:href="#iconRedo"></use></svg>+ <svg><use xlink:href="#iconOutdent"></use></svg>+ <svg><use xlink:href="#iconIndent"></use></svg>+</div></body></html>diff --git a/app/src/mobile/index.ts b/app/src/mobile/index.tsindex f7b40f681d..d7954e89ab 100644--- a/app/src/mobile/index.ts+++ b/app/src/mobile/index.ts@@ -15,6 +15,7 @@ import {promiseTransactions} from "../protyle/wysiwyg/transaction";import {bootSync} from "../dialog/processSystem";import {initMessage} from "../dialog/message";import {goBack} from "./util/MobileBackFoward";+import {showKeyboardToolbar} from "./util/showKeyboardToolbar";class App {constructor() {@@ -76,3 +77,4 @@ class App {new App();window.goBack = goBack;+window.showKeyboardToolbar = showKeyboardToolbar;diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex 7ef205382c..82fa3afbf1 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -37,6 +37,7 @@ interface Window {}goBack(): void+ showKeyboardToolbar(bottom?: number): void}interface ITextOption {