From 78014ecd750947b00052401d6df8e5ea5101c6e6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 2 Jul 2024 17:31:35 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/11866 --- app/src/protyle/wysiwyg/list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.ts index 78b0d0b6d..1ccf02dd9 100644 --- a/app/src/protyle/wysiwyg/list.ts +++ b/app/src/protyle/wysiwyg/list.ts @@ -562,7 +562,7 @@ export const listOutdent = (protyle: IProtyle, liItemElements: Element[], range: id: itemId, data: item.outerHTML }); - } else if ((item.getAttribute("data-subtype") === "u" || item.getAttribute("data-subtype") === "0") && + } else if ((item.getAttribute("data-subtype") === "u" || item.getAttribute("data-subtype") === "o") && parentLiItemElement.getAttribute("data-subtype") === "t") { undoOperations.push({ action: "update",