Skip to content

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

:bug: https://ld246.com/article/1698591240662

Vanessa76113a126cd0
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 7dfdb1942e..0c587674fa 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -395,7 +395,7 @@ export class WYSIWYG {
documentSelf.ondragstart = null;
documentSelf.onselectstart = null;
documentSelf.onselect = null;
- if (!newWidth || newWidth !== oldWidth + "px") {
+ if (!newWidth || newWidth === oldWidth + "px") {
return;
}
transaction(protyle, [{