mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🚨
This commit is contained in:
parent
34b49fe7de
commit
9b3c6e8449
4 changed files with 15 additions and 15 deletions
|
|
@ -183,7 +183,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false) =>
|
|||
} else {
|
||||
if (item.classList.contains("li") && !blockElement.parentElement.classList.contains("list")) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/6534
|
||||
addId = Lute.NewNodeID()
|
||||
addId = Lute.NewNodeID();
|
||||
const liElement = document.createElement("div");
|
||||
liElement.setAttribute("data-subtype", item.getAttribute("data-subtype"));
|
||||
liElement.setAttribute("data-node-id", addId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue