zotero / zotero-google-docs-integration

32 stars 6 forks source link

Show warning when trying to export linked doc #6

Closed dstillman closed 6 years ago

dstillman commented 6 years ago

Because of how we store data, citations in exported PDFs (and maybe other formats) are links to useless zotero.org URLs, and the actual links in the document don't work. This makes exported documents pretty inappropriate for any sort of submission.

If possible, we should intercept "Download as" attempts and show a warning when the document is still linked that says to create a copy, unlink that one, and then export that version.

adomasven commented 6 years ago

Just to note: we don't know whether the document contains Zotero citations until the user puts their cursor on at least one of them, so if someone just opens the doc and immediately downloads, we won't be able to prompt them.

adomasven commented 6 years ago

You will probably want to adjust the text

image