mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
8af51b8592
commit
9a9d42b078
2 changed files with 7 additions and 7 deletions
|
|
@ -1184,6 +1184,8 @@ export const openMenuPanel = (options: {
|
|||
event.stopPropagation();
|
||||
break;
|
||||
} else if (type === "setRelationCell") {
|
||||
menuElement.querySelector(".b3-menu__item--current")?.classList.remove("b3-menu__item--current");
|
||||
target.classList.add("b3-menu__item--current");
|
||||
setRelationCell(options.protyle, options.blockElement as HTMLElement, target, options.cellElements);
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue