|
@@ -413,6 +413,10 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
(insertBefore ? Array.from(tempElement.content.children) : Array.from(tempElement.content.children).reverse()).forEach((item) => {
|
|
(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")
|
|
|
|
+ }
|
|
let addId = item.getAttribute("data-node-id");
|
|
let addId = item.getAttribute("data-node-id");
|
|
if (addId === id) {
|
|
if (addId === id) {
|
|
doOperation.push({
|
|
doOperation.push({
|