This commit is contained in:
Vanessa 2022-10-30 00:16:48 +08:00
parent 6104ba3035
commit f5d9958a93
8 changed files with 44 additions and 44 deletions

View file

@ -65,7 +65,7 @@ export const initUI = (protyle: IProtyle) => {
protyle.background.element.classList.toggle("protyle-background--mobileshow");
return;
}
const embedBlockElement = hasClosestByAttribute(target, "data-type", "NodeBlockQueryEmbed")
const embedBlockElement = hasClosestByAttribute(target, "data-type", "NodeBlockQueryEmbed");
if (embedBlockElement) {
embedBlockElement.firstElementChild.classList.toggle("protyle-icons--show");
}