Vanessa
2026-05-09 12:52:44 +08:00
parent fdfaaff37d
commit a37d773bbc

View File

@@ -2642,7 +2642,7 @@ data-type="${type}" data-subtype="${nodeElement.getAttribute("data-subtype")}" d
if (type === "NodeListItem" && nodeElement.childElementCount > 3 || type === "NodeHeading") {
const fold = nodeElement.getAttribute("fold");
foldHTML = `<button class="ariaLabel" data-position="parentW" aria-label="${window.siyuan.languages.fold}"
data-type="fold" style="cursor:inherit;"><svg style="width: 10px;${fold && fold === "1" ? "" : "transform:rotate(90deg)"}"><use xlink:href="#iconPlay"></use></svg></button>`;
data-type="fold" style="cursor:inherit;"><svg style="width: 14px;${fold && fold === "1" ? "" : "transform:rotate(90deg)"}"><use xlink:href="#iconRight"></use></svg></button>`;
}
if (type === "NodeListItem" || type === "NodeList") {
listItem = nodeElement;