An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessa70307c141bd1
diff --git a/app/src/mobile/menu/search.ts b/app/src/mobile/menu/search.tsindex 219f9c6faf..f459355801 100644--- a/app/src/mobile/menu/search.ts+++ b/app/src/mobile/menu/search.ts@@ -618,7 +618,7 @@ const initSearchEvent = (app: App, element: Element, config: Config.IUILayoutTabexport const popSearch = (app: App, searchConfig?: any) => {const config: Config.IUILayoutTabSearchConfig = JSON.parse(JSON.stringify(window.siyuan.storage[Constants.LOCAL_SEARCHDATA]));- const rangeText = (getCurrentEditor()?.protyle.toolbar.range || (getSelection().rangeCount > 0 ? getSelection().getRangeAt(0) : document.createRange())).toString()+ const rangeText = (getCurrentEditor()?.protyle.toolbar.range || (getSelection().rangeCount > 0 ? getSelection().getRangeAt(0) : document.createRange())).toString();if (rangeText) {config.k = rangeText;}diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.tsindex 7ba43be00b..7fe5386c48 100644--- a/app/src/protyle/render/av/select.ts+++ b/app/src/protyle/render/av/select.ts@@ -63,7 +63,7 @@ export const removeCellOption = (protyle: IProtyle, cellElements: HTMLElement[],const doOperations: IOperation[] = [];const undoOperations: IOperation[] = [];let mSelectValue: IAVCellSelectValue[];- const avID = blockElement.getAttribute("data-av-id")+ const avID = blockElement.getAttribute("data-av-id");cellElements.forEach((item, elementIndex) => {if (!blockElement.contains(item)) {const rowElement = hasClosestByClassName(item, "av__row");