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",