From c1453915a295ae2e6d5681ab14b4878362ce7682 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 27 Sep 2024 11:16:56 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/12591 --- app/src/protyle/wysiwyg/keydown.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.ts index 2bf7e8f95..efe6af7ee 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],