This commit is contained in:
Vanessa 2023-06-28 22:57:18 +08:00
parent 6737a68fd7
commit 7331e9d834
4 changed files with 19 additions and 19 deletions

View file

@ -383,7 +383,7 @@ const openPlugin = (app: App, target: Element) => {
}
});
if (!hasPlugin) {
window.siyuan.menus.menu.element.querySelector(".b3-menu__separator").remove()
window.siyuan.menus.menu.element.querySelector(".b3-menu__separator").remove();
}
let rect = target.getBoundingClientRect();
if (rect.width === 0) {