Laomai-codefee / pdfjs-annotation-extension

An annotation extension based on the PDF.js viewer. Supporting the editing of existing PDF file annotations, posting comments, replying, submitting annotation data, and loading for further editing.
https://github.com/Laomai-codefee/pdfjs-annotation-extension
Apache License 2.0
123 stars 23 forks source link

v2.0 保存功能点击无反应 #7

Closed 948764321 closed 1 month ago

948764321 commented 1 month ago

应该为保存下载文件吧, 现在看起来点击无反应

Laomai-codefee commented 1 month ago

保存需要配置保存地址,目前已经不支持下载了,因为批注插入不到文件中。 只能将批注数据提交到服务器

ae_username= 批注人姓名,添加批注时显示的批注人姓名 ae_get_url= 批注数据地址,通过此地址加载已保存的批注数据 示例 ./examples/pdfjs-4.3.136-dist/pdfjs-annotation-extension-testdata.json ae_post_url= 批注数据提交地址

948764321 commented 1 month ago

后续还要开放服务端代码吗?

Laomai-codefee commented 1 month ago

不开放了,服务端得各自实现。 后续会研究如何将批注写入到 pdf 文件

948764321 commented 1 month ago

感谢作者!

948764321 commented 1 month ago

已解决