Skip to content

Version 2.7.8

Compare
Choose a tag to compare
@rsimon rsimon released this 17 Sep 12:39
· 67 commits to main since this release

API

  • new method getAnnotationsIntersecting(annotationOrId) to query for annotations hat intersect a given annotation. Note that this method is experimental, and will currently return all annotations whose bounding boxes intersect the bounding box of the given annotation. No exact intersection test is made for polygons, lines, etc. which means results may be inaccurate.

Bugfixes

  • disableSelect init option now works as documented (#135)
  • When disableSelectis active, clicking outside an annotation no longer causes an error (#136)
  • When selecting an annotation programmatically via anno.selectAnnotation(arg), dragging the image was blocked; and clicking outside of the annotation did not close the annotation. Fixed (#137)
  • In headless mode, creating a selection (="annotation A") and then clicking another annotation (="annotation B") will properly create annotation A and select annotation B (issue #138)

Behavior/UI

  • Added Chinese and Japanese UI translations
  • Editor widget API: widgets can now add additional JSON-LD namespaces to the annotation @context.
  • When using Recogito to annotate content inside an iframe, the Editor auto-position now respects the iframe dimensions