mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
Update openTitleMenu.ts (#12701)
This commit is contained in:
@@ -263,6 +263,7 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
|
||||
genImportMenu(protyle.notebookId, protyle.path);
|
||||
window.siyuan.menus.menu.append(exportMd(protyle.block.showAll ? protyle.block.id : protyle.block.rootID));
|
||||
|
||||
window.siyuan.menus.menu.append(new MenuItem({id: "separator_4", type: "separator"}).element);
|
||||
if (protyle?.app?.plugins) {
|
||||
emitOpenMenu({
|
||||
plugins: protyle.app.plugins,
|
||||
@@ -271,10 +272,9 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
|
||||
protyle,
|
||||
data: response.data,
|
||||
},
|
||||
separatorPosition: "top",
|
||||
separatorPosition: "bottom",
|
||||
});
|
||||
}
|
||||
window.siyuan.menus.menu.append(new MenuItem({id: "separator_4", type: "separator"}).element);
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
id: "updateAndCreatedAt",
|
||||
iconHTML: "",
|
||||
|
||||
Reference in New Issue
Block a user