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/5472
Vanessab38ceff4cd50
diff --git a/app/src/emoji/index.ts b/app/src/emoji/index.tsindex cdd41b4d91..7347520060 100644--- a/app/src/emoji/index.ts+++ b/app/src/emoji/index.ts@@ -313,7 +313,8 @@ export const openEmojiPanel = (id: string, target: HTMLElement, isNotebook = falinputElement.focus();}lazyLoadEmoji(window.siyuan.menus.menu.element);- window.siyuan.menus.menu.element.firstElementChild.addEventListener(getEventName(), (event) => {+ // 不能使用 getEventName 否则 https://github.com/siyuan-note/siyuan/issues/5472+ window.siyuan.menus.menu.element.firstElementChild.addEventListener("click", (event) => {const eventTarget = event.target as HTMLElement;const typeElement = hasClosestByClassName(eventTarget, "emojis__type");if (typeElement) {