recogito / recogito-js

A JavaScript library for text annotation
BSD 3-Clause "New" or "Revised" License
369 stars 43 forks source link

Tagged annotations cannot be deleted #18

Closed anshsharma10 closed 3 years ago

anshsharma10 commented 3 years ago

This issue can be reproduced by visiting the demo, creating a new annotation with one or more tags, and then attempting to delete the annotation. Rather than remove the whole annotation, only the comment is removed and tags are kept in an empty annotation. Alternatively, one can also attempt to delete the 'Troy' premade annotation for the same results.

rsimon commented 3 years ago

The annotation will remain as long as it has any content (comments or tags). To remove the annotation, you need to delete the comment and each tag. Click the tag -> click the trashcan icon.

I know this isn't ideal from a usability perspective. An extra Delete button to delete everything in one go is on the way.

anshsharma10 commented 3 years ago

Understood, no problems if it's been noticed/it's a design choice & there's an upcoming feature.