This commit is contained in:
Liang Ding 2023-05-10 23:07:17 +08:00
parent 14f8d8e426
commit af938cc41d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 30 additions and 1 deletions

View file

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