Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/11569

Vanessa4904f2badfc9
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 2c70df697a..a847522b3a 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -126,10 +126,10 @@ export class WYSIWYG {
this.element.classList.add("protyle-wysiwyg--attr");
}
this.bindCommonEvent(protyle);
+ this.bindEvent(protyle);
if (protyle.options.action.includes(Constants.CB_GET_HISTORY)) {
return;
}
- this.bindEvent(protyle);
keydown(protyle, this.element);
dropEvent(protyle, this.element);
}