From 06d78e0333c173e5d745d9d3c9420a7027810d67 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 20 Sep 2023 16:59:19 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/9237 --- app/src/protyle/wysiwyg/list.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/wysiwyg/list.ts b/app/src/protyle/wysiwyg/list.ts index 177bbc6eb..cc06a9781 100644 --- a/app/src/protyle/wysiwyg/list.ts +++ b/app/src/protyle/wysiwyg/list.ts @@ -652,6 +652,7 @@ export const listOutdent = (protyle: IProtyle, liItemElements: Element[], range: id: parentLiItemElement.getAttribute("data-node-id"), data: parentLiItemElement.outerHTML, previousID: parentLiItemElement.previousElementSibling?.getAttribute("data-node-id"), + // https://github.com/siyuan-note/siyuan/issues/9237 无 previousID parentID: parentLiItemElement.parentElement.getAttribute("data-node-id"), }); parentLiItemElement.remove();