Skip to content

Version 2.4.1

Compare
Choose a tag to compare
@rsimon rsimon released this 13 Jun 09:40
· 308 commits to main since this release

Feature extensions

  • Support for formatters that insert DOM elements, like e.g. the Shape Labels plugin
  • New startSelection event fired when the user starts drawing a shape (#58)
  • Editor now supports widgets built with Preact, and no longer breaks for widgets using React hooks

Bugfixes

  • .getAnnotations no longer causes an error when an annotation is currently selected (annotorious/annotorious#118)
  • Calling .setDrawingEnabled or .setDrawingTool in read-only mode no longer causes error (#55)
  • cancelSelected event is now fired properly when using the Escape key to cancel editing (annotorious/annotorious#122)
  • Fixed a bug that caused an error when selecting an annotation while a formatter function is configured (annotorious/annotorious#127)
  • Setting readOnly dynamically now works properly, even when the initial setting was readOnly: true (#56)
  • Formatter styles provided via { 'style': '<css string>' } are now applied correctly (annotorious/annotorious#112)
  • Additional fixes to the widget plugin API