I found that's a bug introduced by an extension of mine, so there's no bug
in annotator. Anyway it's still interesting understand if it's possibile
validate an annotation before store it.

I tried returning false in the event "annotationCreated" but it doesn't
work.

Thanks,
   Riccardo


2014-05-29 8:37 GMT+02:00 Riccardo Tasso <[email protected]>:

> Hi all, is there a way to check an annotation before it's send to the
> store?
> I mean, one of my users found a way (I don't know how) to insert an
> annotation whose begin is greater than end and I need to avoid the
> insertion of those kind of annotations.
>
> Cheers,
>     Riccardo
>
_______________________________________________
annotator-dev mailing list
[email protected]
https://lists.okfn.org/mailman/listinfo/annotator-dev
Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev

Reply via email to