mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 16:10:12 +01:00
This commit is contained in:
parent
5a9bb84641
commit
a635bcbafd
15 changed files with 63 additions and 64 deletions
|
|
@ -184,7 +184,7 @@ export const setDefRefCount = (data: {
|
|||
countElement.setAttribute("data-id", JSON.stringify(data.rootRefIDs));
|
||||
}
|
||||
} else if (data.rootRefCount > 0) {
|
||||
attrElement.insertAdjacentHTML("beforeend", `<div class="protyle-attr--refcount popover__block" data-defids="["${data.rootID}"]" data-id="${JSON.stringify(data.rootRefIDs)}" style="">${data.rootRefCount}</div>`);
|
||||
attrElement.insertAdjacentHTML("beforeend", `<div class="protyle-attr--refcount popover__block">${data.rootRefCount}</div>`);
|
||||
}
|
||||
}
|
||||
if (data.rootID === data.blockID) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue