mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
97d1a6e3c1
commit
b897b9ef38
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ export const bindRelationEvent = (options: {
|
|||
html += genSelectItemHTML("unselect", item.block.id, item.isDetached, item.block.content || window.siyuan.languages.untitled);
|
||||
}
|
||||
});
|
||||
options.menuElement.querySelector(".b3-menu__label").innerHTML = response.data.name;
|
||||
options.menuElement.querySelector(".b3-menu__label").innerHTML = `<span data-id="${response.data.blockID}" class="popover__block">${response.data.name}</span>`;
|
||||
options.menuElement.querySelector(".b3-menu__items").innerHTML = `${selectHTML || genSelectItemHTML("empty")}
|
||||
<button class="b3-menu__separator"></button>
|
||||
${html || genSelectItemHTML("empty")}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue