mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 01:50:58 +08:00
This commit is contained in:
parent
19b307bfa4
commit
b9b1436572
@ -719,6 +719,7 @@ const copyAnno = (idPath: string, fileName: string, pdf: any) => {
|
||||
const formData = new FormData();
|
||||
const imageName = content + ".png";
|
||||
formData.append("file[]", blob, imageName);
|
||||
formData.append("skipIfDuplicated", "true");
|
||||
fetchPost(Constants.UPLOAD_ADDRESS, formData, (response) => {
|
||||
writeText(`<<${idPath} "${content}">>
|
||||
`);
|
||||
|
Loading…
Reference in New Issue
Block a user