This commit is contained in:
parent
ece3189263
commit
3d5c08e8b1
1 changed files with 4 additions and 0 deletions
|
@ -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) => {
|
||||
// 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");
|
||||
if (addId === id) {
|
||||
doOperation.push({
|
||||
|
|
Loading…
Add table
Reference in a new issue