mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
67e0dad0a7
commit
05cfcf7c2b
1 changed files with 3 additions and 1 deletions
|
|
@ -265,8 +265,9 @@ export class Protyle {
|
||||||
} else {
|
} else {
|
||||||
this.getDoc(mergedOptions);
|
this.getDoc(mergedOptions);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.protyle.contentElement.classList.add("protyle-content--transition");
|
||||||
}
|
}
|
||||||
this.protyle.contentElement.classList.add("protyle-content--transition");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private getDoc(mergedOptions: IOptions) {
|
private getDoc(mergedOptions: IOptions) {
|
||||||
|
|
@ -339,6 +340,7 @@ export class Protyle {
|
||||||
if (mergedOptions.after) {
|
if (mergedOptions.after) {
|
||||||
mergedOptions.after(this);
|
mergedOptions.after(this);
|
||||||
}
|
}
|
||||||
|
this.protyle.contentElement.classList.add("protyle-content--transition");
|
||||||
}
|
}
|
||||||
|
|
||||||
private init() {
|
private init() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue