mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
19b307bfa4
commit
b9b1436572
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue