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:
Vanessa07221f5f4b7f
diff --git a/app/src/mobile/util/search.ts b/app/src/mobile/util/search.tsindex a16896afd4..1ebd06d5ab 100644--- a/app/src/mobile/util/search.ts+++ b/app/src/mobile/util/search.ts@@ -67,7 +67,7 @@ export const popSearch = () => {title: '<input id="toolbarSearch" style="background-color: var(--b3-theme-surface);border: 0;" class="b3-text-field fn__block">',icon:"iconSearch",html: '<div id="searchPanel"></div>',- bindEvent(HTMLElement) {+ bindEvent() {initToolbarSearch();const searchElement = document.getElementById("searchPanel");// 不能使用 getEventName() https://ld246.com/article/1638887457149diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 0d278ed6c2..645e78a4ed 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -405,7 +405,7 @@ export class WYSIWYG {target.removeAttribute("style");const id = nodeElement.getAttribute("data-node-id");const x = event.clientX;- const colIndex = parseInt(target.getAttribute("data-col-index"))+ const colIndex = parseInt(target.getAttribute("data-col-index"));const colElement = nodeElement.querySelectorAll("table col")[colIndex] as HTMLElement;// 清空初始化 table 时的最小宽度if (colElement.style.minWidth) {