Skip to content

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

:art: fix https://github.com/Vanessa219/vditor/issues/1552

Vanessa858d1f36277b
diff --git a/app/src/boot/globalEvent/keydown.ts b/app/src/boot/globalEvent/keydown.ts
index 54bf96869a..1c394c9e25 100644
--- a/app/src/boot/globalEvent/keydown.ts
+++ b/app/src/boot/globalEvent/keydown.ts
@@ -407,7 +407,7 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
});
copyPlainText(html.trimEnd());
} else {
- writeText(range.toString());
+ copyPlainText(range.toString());
}
event.preventDefault();
return true;