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: 自定义表情作为文档图片的时候,点击不显示切换 emoji 面板
Vanessa56e4ab4d39bd
diff --git a/app/src/protyle/header/Background.ts b/app/src/protyle/header/Background.tsindex 3600e0b0b4..bc9e11bc59 100644--- a/app/src/protyle/header/Background.ts+++ b/app/src/protyle/header/Background.ts@@ -201,7 +201,7 @@ export class Background {while (target && !target.isEqualNode(this.element)) {const type = target.getAttribute("data-type");- if (target.tagName === "IMG") {+ if (target.tagName === "IMG" && target.parentElement.classList.contains("protyle-background__img")) {const imgSrc = target.getAttribute("src");if (event.detail > 1 && !imgSrc.startsWith("data:image/png;base64")) {previewImage(imgSrc);