Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/11866

Vanessa78014ecd7509
diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.ts
index 78b0d0b6da..1ccf02dd9c 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",