Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This isn't really the same tool as in the PDF view - it only allows you to select images, and only entire images. It acts a lot more like the EPUB/snapshot note tool than the PDF area tool. Pretty much the only difference is that the image tool can only target images and includes the targeted image in the annotations it creates. So should we just combine the two? We could make the note tool produce image annotations instead of note annotations when an image is targeted, and then we wouldn't need a separate image annotation tool with confusingly inconsistent behavior.
(I looked into supporting all DOM elements/multiple DOM elements instead of only single images, but that would add a huge amount of complexity for marginal gain. People are usually just going to want to pull out a single image at a time. Annotating text is already covered by other tools, and unlike in PDFs, unselectable text is rare - when it occurs, it's usually short segments like equations.)
Fixes zotero/zotero#4032