mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 15:12:33 +01:00
This commit is contained in:
parent
fc932b0065
commit
7e164623cb
14 changed files with 48 additions and 42 deletions
|
|
@ -132,7 +132,7 @@ export const initBlockPopover = () => {
|
|||
ids = [dataId];
|
||||
}
|
||||
defIds = JSON.parse(popoverTargetElement.getAttribute("data-defids") || "[]");
|
||||
} else if (popoverTargetElement.getAttribute("data-type") === "virtual-block-ref") {
|
||||
} else if (popoverTargetElement.getAttribute("data-type").indexOf("virtual-block-ref") > -1) {
|
||||
const nodeElement = hasClosestBlock(popoverTargetElement);
|
||||
if (nodeElement) {
|
||||
const postResponse = await fetchSyncPost("/api/block/getBlockDefIDsByRefText", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue