Skip to content

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

:bug:

Vanessa268653864181
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 4780ea9f74..af10164b0d 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -1714,7 +1714,9 @@ export class WYSIWYG {
} else {
hideElements(["toolbar"], protyle);
}
- countSelectWord(range);
+ if (!protyle.wysiwyg.element.querySelector(".protyle-wysiwyg--select")) {
+ countSelectWord(newRange);
+ }
pushBack(protyle, newRange);
}, isMobile() ? 520 : 0); // Android 双击慢了出不来