mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
dd51b98101
commit
978c2c9386
2 changed files with 1 additions and 6 deletions
|
|
@ -236,10 +236,8 @@ export const initFileMenu = (notebookId: string, pathString: string, id: string,
|
|||
label: window.siyuan.languages.openBy,
|
||||
submenu: openSubmenus,
|
||||
}).element);
|
||||
if (!window.siyuan.config.readonly) {
|
||||
}
|
||||
window.siyuan.menus.menu.append(exportMd(id));
|
||||
}
|
||||
}
|
||||
return window.siyuan.menus.menu;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -329,11 +329,8 @@ export class Breadcrumb {
|
|||
type: "submenu",
|
||||
submenu: editSubmenu
|
||||
}).element);
|
||||
/// #if !BROWSER
|
||||
window.siyuan.menus.menu.append(exportMd(protyle.block.parentID));
|
||||
/// #endif
|
||||
window.siyuan.menus.menu.append(new MenuItem({type: "separator"}).element);
|
||||
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
type: "readonly",
|
||||
label: `<div class="fn__flex">${window.siyuan.languages.docRuneCount}<span class="fn__space fn__flex-1"></span>${response.data.rootBlockRuneCount}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue