An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/8335
Vanessa8cc7752ceaa4
diff --git a/app/src/protyle/header/Title.ts b/app/src/protyle/header/Title.tsindex ec9ebc00c7..1bdeb4957e 100644--- a/app/src/protyle/header/Title.ts+++ b/app/src/protyle/header/Title.ts@@ -411,6 +411,13 @@ export class Title {${window.siyuan.languages.createdAt} ${dayjs(response.data.ial.id.substr(0, 14)).format("YYYY-MM-DD HH:mm:ss")}`}).element);window.siyuan.menus.menu.popup(position);+ this.app?.plugins?.forEach((plugin) => {+ plugin.eventBus.emit("click-editortitleicon", {+ protyle,+ menu: window.siyuan.menus.menu,+ data: response.data,+ });+ });});}diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex ec45843c65..69e408c064 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -22,7 +22,7 @@ type TOperation =| "removeFlashcards"type TBazaarType = "templates" | "icons" | "widgets" | "themes" | "plugins"type TCardType = "doc" | "notebook" | "all"-type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf"+type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf" | "click-editortitleicon"declare module "blueimp-md5"