mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 Support for exporting EPUB Fix https://github.com/siyuan-note/siyuan/issues/8134
This commit is contained in:
parent
05d2a5147d
commit
825e3767e7
3 changed files with 29 additions and 0 deletions
|
|
@ -722,6 +722,17 @@ export const exportMd = (id: string) => {
|
|||
openByMobile(response.data.zip);
|
||||
});
|
||||
}
|
||||
}, {
|
||||
label: "EPUB",
|
||||
click: () => {
|
||||
const msgId = showMessage(window.siyuan.languages.exporting, -1);
|
||||
fetchPost("/api/export/exportEPUB", {
|
||||
id,
|
||||
}, response => {
|
||||
hideMessage(msgId);
|
||||
openByMobile(response.data.zip);
|
||||
});
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue