Skip to content

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

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

Vanessadde49088c9e7
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 6ea5e42b37..2dcf764473 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -453,6 +453,10 @@ export class WYSIWYG {
return;
}
+ // https://ld246.com/article/1681778773806
+ if (["IMG", "VIDEO", "AUDIO"].includes(target.tagName)) {
+ return;
+ }
// 多选节点
let x = event.clientX;
if (event.clientX > mostRight) {