mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
c326989391
commit
fe143bcb12
1 changed files with 4 additions and 1 deletions
|
@ -1796,7 +1796,10 @@ export class WYSIWYG {
|
|||
const topElement = getTopAloneElement(item);
|
||||
if (item.getAttribute("data-type") === "NodeHeading" && item.getAttribute("fold") === "1") {
|
||||
needClipboardWrite = true;
|
||||
const response = await fetchSyncPost("/api/block/getHeadingChildrenDOM", {id: item.getAttribute("data-node-id")});
|
||||
const response = await fetchSyncPost("/api/block/getHeadingChildrenDOM", {
|
||||
id: item.getAttribute("data-node-id"),
|
||||
removeFoldAttr: false
|
||||
});
|
||||
html += response.data;
|
||||
} else {
|
||||
html += removeEmbed(topElement);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue