Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: fix https://github.com/siyuan-note/siyuan/issues/6161

Vanessa6be604cd8533
diff --git a/app/src/dialog/tooltip.ts b/app/src/dialog/tooltip.ts
index 76659ea076..7af933c8a8 100644
--- a/app/src/dialog/tooltip.ts
+++ b/app/src/dialog/tooltip.ts
@@ -17,6 +17,9 @@ export const showTooltip = (message: string, target: Element) => {
} else {
messageElement.innerHTML = message;
}
+ if(target.getAttribute("data-inline-memo-content")) {
+ messageElement.classList.add("tooltip--memo"); // 为行级备注添加 class https://github.com/siyuan-note/siyuan/issues/6161
+ }
let left = targetRect.left;
const position = target.getAttribute("data-position");
if (position === "right") {