This commit is contained in:
Vanessa 2023-09-30 20:46:00 +08:00
parent 67e0dad0a7
commit 05cfcf7c2b

View file

@ -265,8 +265,9 @@ export class Protyle {
} else {
this.getDoc(mergedOptions);
}
} else {
this.protyle.contentElement.classList.add("protyle-content--transition");
}
this.protyle.contentElement.classList.add("protyle-content--transition");
}
private getDoc(mergedOptions: IOptions) {
@ -339,6 +340,7 @@ export class Protyle {
if (mergedOptions.after) {
mergedOptions.after(this);
}
this.protyle.contentElement.classList.add("protyle-content--transition");
}
private init() {