Commit Graph

81 Commits

Author SHA1 Message Date
Rainer Simon f623f9b1a5 Minor tweaks to draggable behavior 2021-08-16 10:25:54 +02:00
Rainer Simon 56ca3a74d8 Made equality check stricter, so annotation updates can be injected via API 2021-08-12 14:30:59 +02:00
Rainer Simon 6f68fc63fd Added API method to get current annotation editing state 2021-08-12 14:04:16 +02:00
Rainer Simon 198a66f6ed Regression fix: editor no longer reset when zooming in OSD 2021-08-10 12:23:43 +02:00
Rainer Simon 8f0a78a7d4 Fixed warning: key property for editor widgets 2021-08-03 09:48:49 +02:00
Rainer Simon 16297d0e29 Regression: setPosition now triggered when element moves (OpenSeadragon) 2021-07-14 21:11:40 +02:00
Rainer Simon 0bf3fcfbff Bugfix 2021-07-07 18:49:16 +02:00
Rainer Simon b625f7b024 Cleanup 2021-07-06 07:28:09 +02:00
Rainer Simon daa8157eb8 Closes #69 2021-07-05 21:18:08 +02:00
Rainer Simon e84bebc9b9 Revised widget API for batch body modifications 2021-07-03 08:10:02 +02:00
Rainer Simon 9cb80ca6a4 Finished extending widget API (issues #65 + #66) 2021-06-30 19:20:46 +02:00
Rainer Simon 2852d0c67c onAppendBody + onRemoveBody now support arrays of bodies as arg (#65) 2021-06-30 18:57:55 +02:00
Rainer Simon 3a6b6ac1db WIP - needs testing but should address #66 2021-06-29 20:49:26 +02:00
Rainer Simon 2603439cb1 Experimental: refactored the editor into a class component for more flexibility (#65, #66) 2021-06-29 20:44:39 +02:00
Rainer Simon ecb585c11b Closes #61 2021-06-26 14:50:48 +02:00
Rainer Simon 3c7682a84c Closes #63 2021-06-26 14:19:40 +02:00
Rainer Simon ce12712517 Editor API/props change to support #57 2021-06-20 17:59:03 +02:00
Rainer Simon 897a323d6d Made detachable editor feature switchable 2021-06-20 07:59:42 +02:00
Rainer Simon 242926ae8a Improvements/fixes for detachable editor drag handling 2021-06-19 18:12:14 +02:00
Rainer Simon 48c59197f6 Draggable editor experiment 2021-06-17 20:59:07 +02:00
Rainer Simon a9046c8dfb React/Preact compatibility cleanup 2021-06-11 12:03:44 +02:00
Rainer Simon ad47392c13 Closes #54 2021-04-04 09:12:02 +02:00
Rainer Simon ae685bb166 allowEmpty config option 2021-03-27 21:35:12 +01:00
Rainer Simon b44df91839 Delete button style tweaks 2021-03-21 10:38:20 +01:00
Rainer Simon f8d857546f Delete button style 2021-03-20 15:39:34 +01:00
Rainer Simon 400406a650 Enhanced logic to determine whether annotation has delete button or not 2021-03-20 14:56:32 +01:00
Rainer Simon 4f28723f88 Temporary fix: merge conflict 2021-03-20 09:16:56 +01:00
Rainer Simon 7e7f9fdd82 Bugfix 2021-03-12 15:13:03 +01:00
Rainer Simon e2d329810f Added onUpsertBody convenience method 2021-02-21 08:29:16 +01:00
Rainer Simon 432ca90cb4 Changes to selection target now re-render the editor widgets (#34) 2021-02-14 11:37:36 +01:00
Frédéric Collonval 0d73992bab Add remove button in editor 2021-01-28 09:54:34 +01:00
Rainer Simon 6d8e0bdb60 Added .onSetProperty method (issue #42) 2021-01-17 14:01:22 +01:00
Adnan M.Sagar, PhD 70da8d1a70
Update Editor.jsx
Shorter syntax for doing the same.
2021-01-04 19:40:45 +02:00
Adnan M.Sagar, PhD 52a3ffb55f
Update Editor.jsx
Small fix to add created or modified to the body correctly.
Below was my original fix but didn't want to change file flow

```js
meta[body.created ? 'modified' : 'created'] = props.env.getCurrentTimeAdjusted()
```

Great job with the all the Annotation packages, thank you.
2021-01-04 17:22:25 +02:00
Rainer Simon 7a2d338593 Editor bugfix + disabled applyTemplate hack 2020-12-27 08:52:52 +01:00
Rainer Simon 7cade43a08 Bugfix 2020-12-25 20:31:37 +01:00
Rainer Simon ac1e27678d Cleanup 2020-12-21 13:35:28 +01:00
Rainer Simon ae07174ea5 Bugfix 2020-12-20 21:33:02 +01:00
Rainer Simon 1c80007ef4
Merge pull request #38 from dnoneill/purpose-dropdown
Purpose dropdown
2020-12-07 09:02:17 +01:00
Rainer Simon 103e89673c Updated WebAnnotation/Selection equals method 2020-11-28 17:35:44 +01:00
Niqui O'Neill 424860bfc3 stash changes 2020-11-16 14:07:14 -05:00
Rainer Simon e44f404e28 Bugfix 2020-10-12 09:51:05 +02:00
Rainer Simon 8faa9f29d8 Proper CSS class prefixing for editor 2020-09-22 14:22:17 +02:00
Rainer Simon 0898639db5 Environment bugfixes 2020-09-22 11:52:19 +02:00
Rainer Simon f95cd46d55 Bugfix 2020-09-12 10:08:02 +02:00
Rainer Simon 7874622ad4 More work towards flexible widget API 2020-09-12 10:06:29 +02:00
Rainer Simon b1db6e90e0 Preparatory work for flexible plugin API 2020-09-12 09:41:03 +02:00
Rainer Simon d4ab1aedb4 Cleanup 2020-09-11 14:22:53 +02:00
Rainer Simon 64aa253a5e Basic plugin API example 2020-09-11 09:14:19 +02:00
Rainer Simon ed78059ec5 CSS + behavior tweaks 2020-09-05 13:39:54 +02:00