Vanessa 2025-03-14 20:19:26 +08:00
parent 8af51b8592
commit 9a9d42b078
2 changed files with 7 additions and 7 deletions

View file

@ -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();