This commit is contained in:
Vanessa 2022-05-30 15:53:21 +08:00
parent dd51b98101
commit 978c2c9386
2 changed files with 1 additions and 6 deletions

View file

@ -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));
}
}
window.siyuan.menus.menu.append(exportMd(id));
return window.siyuan.menus.menu;
};