mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 20:00:17 +01:00
🚨
This commit is contained in:
parent
e80354ebbb
commit
5cdcd27faa
7 changed files with 10 additions and 10 deletions
|
|
@ -1129,7 +1129,7 @@ export class Files extends Model {
|
|||
if (item.count && item.count > 0) {
|
||||
countHTML = `<span class="popover__block counter b3-tooltips b3-tooltips__nw" aria-label="${window.siyuan.languages.ref}">${item.count}</span>`;
|
||||
}
|
||||
const ariaLabel = this.genDocAriaLabel(item)
|
||||
const ariaLabel = this.genDocAriaLabel(item);
|
||||
return `<li data-node-id="${item.id}" data-name="${Lute.EscapeHTMLStr(item.name)}" draggable="true" data-count="${item.subFileCount}"
|
||||
data-type="navigation-file"
|
||||
style="--file-toggle-width:${(item.path.split("/").length - 2) * 18 + 40}px"
|
||||
|
|
@ -1148,7 +1148,7 @@ aria-label="${escapeHtml(ariaLabel)}">${getDisplayName(item.name, true, true)}</
|
|||
</span>
|
||||
${countHTML}
|
||||
</li>`;
|
||||
};
|
||||
}
|
||||
|
||||
private initMoreMenu() {
|
||||
window.siyuan.menus.menu.remove();
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ export const exportLayout = async (options: {
|
|||
cb: () => void,
|
||||
errorExit: boolean
|
||||
}) => {
|
||||
const editors = getAllModels().editor
|
||||
const editors = getAllModels().editor;
|
||||
for (let i = 0; i < editors.length; i++) {
|
||||
await saveScroll(editors[i].editor.protyle);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue