mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
66afcafd84
commit
6670719931
6 changed files with 10 additions and 2 deletions
|
|
@ -1314,6 +1314,7 @@ export const openMenuPanel = (options: {
|
|||
avPanelElement.querySelector(".b3-menu__item--current")?.classList.remove("b3-menu__item--current");
|
||||
target.parentElement.classList.add("b3-menu__item--current");
|
||||
options.blockElement.removeAttribute("data-render");
|
||||
options.blockElement.setAttribute("data-av-type", target.dataset.avType);
|
||||
avRender(options.blockElement, options.protyle, undefined, target.parentElement.dataset.id);
|
||||
}
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue