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/13683

Vanessa9966dd0ec4e0
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts
index 3c4ac2a4aa..dd089bc605 100644
--- a/app/src/protyle/wysiwyg/keydown.ts
+++ b/app/src/protyle/wysiwyg/keydown.ts
@@ -948,7 +948,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
if (isNotCtrl(event) && event.key === "Enter") {
if (event.altKey) {
addSubList(protyle, nodeElement, range);
- } else {
+ } else if (!event.shiftKey) {
enter(nodeElement, range, protyle);
event.stopPropagation();
event.preventDefault();