Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/12591

Vanessac1453915a295
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts
index 2bf7e8f951..efe6af7ee3 100644
--- a/app/src/protyle/wysiwyg/keydown.ts
+++ b/app/src/protyle/wysiwyg/keydown.ts
@@ -1426,7 +1426,7 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {
id,
type: isMatchList ? "TL2UL" : "TL2OL",
});
- } else if (isMatchCheck || isMatchOList) {
+ } else if (subType === "u" && (isMatchCheck || isMatchOList)) {
turnsOneInto({
protyle,
nodeElement: selectsElement[0],