mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 Support for exporting ODT Fix https://github.com/siyuan-note/siyuan/issues/8133
This commit is contained in:
parent
a52cf1eb29
commit
847be4b939
5 changed files with 40 additions and 5 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue