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();