Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://ld246.com/article/1695361968294

Vanessa05cfcf7c2b8b
diff --git a/app/src/protyle/index.ts b/app/src/protyle/index.ts
index bb5872408b..35477bec43 100644
--- a/app/src/protyle/index.ts
+++ b/app/src/protyle/index.ts
@@ -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() {