Commit Graph

49 Commits

Author SHA1 Message Date
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
Rainer Simon d27c0f382e Added I18n 2020-05-14 15:00:31 +02:00
Rainer Simon f89eac2b87 Bugfix 2020-05-13 08:36:57 +02:00
Rainer Simon bc005087e0 Position editor on resize 2020-05-12 20:17:37 +02:00
Rainer Simon 2727b38c94 Minor bugfix 2020-05-12 20:11:42 +02:00
Rainer Simon 4825f3b21d Internal API change: keep ref to selected DOM node, not just bounds 2020-05-12 19:50:33 +02:00
Rainer Simon 95c7e26557 Switched to Preact 2020-05-01 20:01:55 +02:00
Rainer Simon 53c842035b Minor internal API change 2020-05-01 15:58:25 +02:00
Rainer Simon 574d805008 Made widgets readOnly-compatible 2020-05-01 14:20:13 +02:00
Rainer Simon 59b7517414 applyTemplate API method 2020-04-22 18:47:42 +02:00
Rainer Simon 3918785cf4 Added experimental 'autoApply' feature 2020-04-20 19:04:53 +02:00
Rainer Simon 8cf539c4d4 Behavior tweak 2020-04-12 09:54:09 +02:00
Rainer Simon 83d7ac538b Minor tweak to enable editor to move with changing annotation bounds 2020-04-11 17:44:13 +02:00
Rainer Simon 580ece0352 Cleanup + editor positioning fix 2020-04-08 09:10:37 +02:00
Rainer Simon 4d3df145de Render performance optimization 2020-04-05 20:58:16 +02:00
Rainer Simon 05fcda369b Configurable editor widgets 2020-04-04 21:06:53 +02:00
Rainer Simon 0e70226aaa Rolled the reply field into CommentWidget, where it belongs 2020-04-04 20:47:04 +02:00
Rainer Simon dcef9d5cab Moved type selector widget to addons 2020-04-04 15:56:51 +02:00
Rainer Simon 08eff5a714 Refactoring 2020-04-04 10:45:53 +02:00
Rainer Simon f155c5751d Initial import 2020-04-03 21:31:10 +02:00