mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
This commit is contained in:
parent
4b46e2c3d6
commit
7cd8f8f7d0
3 changed files with 17 additions and 2 deletions
|
|
@ -132,6 +132,7 @@ export const initNavigationMenu = (liElement: HTMLElement) => {
|
|||
}
|
||||
}]
|
||||
}).element);
|
||||
window.siyuan.menus.menu.element.setAttribute("data-filetreeid", notebookId);
|
||||
return window.siyuan.menus.menu;
|
||||
};
|
||||
|
||||
|
|
@ -283,6 +284,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement:
|
|||
/// #endif
|
||||
genImportMenu(notebookId, pathString);
|
||||
window.siyuan.menus.menu.append(exportMd(id));
|
||||
window.siyuan.menus.menu.element.setAttribute("data-filetreeid", id);
|
||||
return window.siyuan.menus.menu;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue