Vanessa 2023-05-22 10:32:54 +08:00
parent 17f6ab335b
commit e9c07f1dc3
4 changed files with 204 additions and 91 deletions

View file

@ -45,7 +45,7 @@ export class BlockPanel {
this.isBacklink = options.isBacklink;
this.element = document.createElement("div");
this.element.classList.add("block__popover", "block__popover--move", "block__popover--top");
this.element.classList.add("block__popover", "block__popover--top");
const parentElement = hasClosestByClassName(this.targetElement, "block__popover", true);
let level = 1;