mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
This commit is contained in:
parent
749caf8a70
commit
6be604cd85
1 changed files with 3 additions and 0 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue