An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/9020
Vanessaccff6efc9831
diff --git a/app/src/protyle/toolbar/util.ts b/app/src/protyle/toolbar/util.tsindex f177d7f6a5..e49c8f839c 100644--- a/app/src/protyle/toolbar/util.ts+++ b/app/src/protyle/toolbar/util.ts@@ -56,7 +56,7 @@ export const removeSearchMark = (element: HTMLElement) => {}}- if (element.getAttribute("data-type").includes("search-mark")) {+ if ((element.getAttribute("data-type") || "").includes("search-mark")) {element.setAttribute("data-type", element.getAttribute("data-type").replace("search-mark", "").trim());}};