An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: fix https://github.com/siyuan-note/siyuan/issues/7519
Vanessacf5c6bed627c
diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.tsindex a639989e44..dc71f96058 100644--- a/app/src/mobile/util/keyboardToolbar.ts+++ b/app/src/mobile/util/keyboardToolbar.ts@@ -260,7 +260,7 @@ export const initKeyboardToolbar = () => {} else if (type === "block") {protyle.gutter.renderMenu(protyle, nodeElement);window.siyuan.menus.menu.popup({x: 0, y: 0}, true);- focusByRange(range);+ hideKeyboardToolbar();return;} else if (type === "outdent") {listOutdent(protyle, [nodeElement.parentElement], range);diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex 02075fbfb5..19dabf2a84 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -34,6 +34,7 @@ import {movePathTo} from "../../util/pathName";import {hintMoveBlock} from "../hint/extend";import {makeCard, quickMakeCard} from "../../card/makeCard";import {transferBlockRef} from "../../menus/block";+import {isMobile} from "../../util/functions";export class Gutter {public element: HTMLElement;@@ -205,7 +206,11 @@ export class Gutter {openAttr(protyle.wysiwyg.element.querySelector(`[data-node-id="${id}"]`), protyle);} else {this.renderMenu(protyle, buttonElement);- window.siyuan.menus.menu.popup({x: event.clientX - 16, y: event.clientY - 16}, true);+ if (isMobile()) {+ window.siyuan.menus.menu.fullscreen();+ } else {+ window.siyuan.menus.menu.popup({x: event.clientX - 16, y: event.clientY - 16}, true);+ }// https://ld246.com/article/1648433751993if (!protyle.toolbar.range) {protyle.toolbar.range = getEditorRange(protyle.wysiwyg.element.firstElementChild);@@ -1638,7 +1643,7 @@ export class Gutter {window.siyuan.menus.menu.append(new MenuItem({label: window.siyuan.languages.width,submenu: styles.concat([{- label: `<div aria-label="${width}%" class="b3-tooltips b3-tooltips__n fn__size200">+ label: `<div aria-label="${width}%" class="b3-tooltips b3-tooltips__n${isMobile() ? "" : " fn__size200"}"><input style="box-sizing: border-box" value="${width}" class="b3-slider fn__block" max="100" min="1" step="1" type="range"></div>`,bind(element) {