This commit is contained in:
Vanessa 2024-12-09 10:20:40 +08:00
parent 8f59465ca6
commit 553891defb
17 changed files with 46 additions and 46 deletions

View file

@ -415,7 +415,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
(insertBefore ? Array.from(tempElement.content.children) : Array.from(tempElement.content.children).reverse()).forEach((item) => {
// https://github.com/siyuan-note/siyuan/issues/13232
if (item.getAttribute("data-type") === "NodeHeading" && item.getAttribute("fold") === "1") {
item.removeAttribute("fold")
item.removeAttribute("fold");
}
let addId = item.getAttribute("data-node-id");
if (addId === id) {