Commit Graph

69 Commits

Author SHA1 Message Date
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
Rainer Simon 011442bd7d Minor fixes 2020-08-26 21:48:39 +02:00
Rainer Simon b280a7daeb Minor change in preparation for better headless 2020-08-23 20:58:30 +02:00
Rainer Simon 710bfc77af Editor Cancel event now returns annotation as payload 2020-08-15 13:52:17 +02:00
Rainer Simon 984a5b576d iOS bugfix 2020-06-04 12:58:22 +02:00
Rainer Simon a8befdcb19 Minor tweak: allowing configurable widgets 2020-06-04 10:13:17 +02:00
Rainer Simon 4c5e102095 Another attempt at getting ResizeObserver behavior right 2020-06-03 15:34:52 +02:00
Rainer Simon b33819ed35 Changed the way the ResizeObserver works on the editor popup 2020-06-03 15:11:50 +02:00
Rainer Simon a2599a9237 Bugfix 2020-05-22 20:01:30 +02:00
Rainer Simon 053830ad4a Disabling ResizeObserver for platforms that don't support it 2020-05-22 19:42:38 +02:00
Rainer Simon 9e4f0bd3f3 Creation meta is now omitted when no user present 2020-05-18 09:42:55 +02:00
Rainer Simon 15dd1374db Handling creation metadata (creator, created, modified) 2020-05-18 08:43:39 +02:00
Rainer Simon 38dbb47eb0 Fixes Annotorious issue re selection equality 2020-05-14 18:58:35 +02:00