mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🚨
This commit is contained in:
@@ -378,7 +378,7 @@ export class Gutter {
|
||||
transaction(protyle, doOperations, undoOperations);
|
||||
} else {
|
||||
const hasFold = setFold(protyle, foldElement);
|
||||
const foldArrowElement = buttonElement.parentElement.querySelector("[data-type='fold'] > svg") as HTMLElement
|
||||
const foldArrowElement = buttonElement.parentElement.querySelector("[data-type='fold'] > svg") as HTMLElement;
|
||||
if (hasFold !== -1 && foldArrowElement) {
|
||||
foldArrowElement.style.transform = hasFold === 0 ? "rotate(90deg)" : "";
|
||||
}
|
||||
@@ -2372,9 +2372,9 @@ export class Gutter {
|
||||
gutterTip = this.gutterTip.split("<br>").splice(0, 2).join("<br>");
|
||||
}
|
||||
|
||||
let popoverHTML = ""
|
||||
let popoverHTML = "";
|
||||
if (protyle.options.backlinkData) {
|
||||
popoverHTML = `class="popover__block" data-id="${dataNodeId}"`
|
||||
popoverHTML = `class="popover__block" data-id="${dataNodeId}"`;
|
||||
}
|
||||
const buttonHTML = `<button class="ariaLabel" data-position="right" aria-label="${gutterTip}"
|
||||
data-type="${type}" data-subtype="${nodeElement.getAttribute("data-subtype")}" data-node-id="${dataNodeId}">
|
||||
|
||||
Reference in New Issue
Block a user