This commit is contained in:
Liang Ding 2023-05-11 09:03:45 +08:00
parent a52cf1eb29
commit 847be4b939
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 40 additions and 5 deletions

View file

@ -700,6 +700,17 @@ export const exportMd = (id: string) => {
openByMobile(response.data.zip);
});
}
}, {
label: "ODT",
click: () => {
const msgId = showMessage(window.siyuan.languages.exporting, -1);
fetchPost("/api/export/exportODT", {
id,
}, response => {
hideMessage(msgId);
openByMobile(response.data.zip);
});
}
},
]
}