mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 11:50:15 +01:00
This commit is contained in:
parent
04c86bc6b2
commit
06d78e0333
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue