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
15d88d02a7
Minor fix
2021-06-11 12:09:23 +02:00
Rainer Simon
a9046c8dfb
React/Preact compatibility cleanup
2021-06-11 12:03:44 +02:00
Rainer Simon
c08937edf3
Plugin API enhancement - hooks now supported!
2021-06-11 11:07:15 +02:00
Rainer Simon
a5497df16d
Renaming in prep for (possible) vite build
2021-06-03 14:33:33 +02:00
Rainer Simon
1455d879c1
Editor now supports widgets compiled with Preact
2021-06-03 14:31:37 +02:00
Rainer Simon
c778a8c282
Auto-positioning: added another test for horizontal positioning
2021-04-19 19:41:38 +02:00
Rainer Simon
34c8daadc4
Typo
2021-04-18 21:11:55 +02:00
Rainer Simon
5c678f52f1
Cleanup
2021-04-18 18:24:36 +02:00
Rainer Simon
9658a5aa47
Minor positioning tweak
2021-04-18 14:51:58 +02:00
Rainer Simon
4fa1e145f5
Enhancements to editor auto-position
2021-04-18 14:33:19 +02:00
Rainer Simon
6ec1995791
Addressing the unaddressable issues of distinguishing React components from functions..:
2021-04-08 14:16:22 +02:00
Rainer Simon
ad47392c13
Closes #54
2021-04-04 09:12:02 +02:00
Rainer Simon
0c9e7fba1a
Should fix dynamic positioning issue
2021-04-01 13:45:17 +02:00
Rainer Simon
ec2fca774a
Tag widget style fix: widget now hidden when empty
2021-03-30 10:43:18 +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
37ca2106a9
Cleanup
2021-02-28 09:20:13 +01:00
Rainer Simon
0c83d309a2
Editor position bugfix
2021-02-27 18:04:58 +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
0ef304e370
Minor fix
2020-12-20 17:55:10 +01:00
Rainer Simon
225da3728f
Minor edits
2020-12-20 16:41:31 +01:00
Rainer Simon
03885e9958
Simpified/made more robust
2020-12-20 16:39:30 +01:00
Rainer Simon
f186ff8109
Simplified to function component
2020-12-20 16:29:20 +01:00
Niqui O'Neill
abb199509e
update iscomment check
2020-12-14 17:41:04 -08:00
Niqui O'Neill
28f91247e5
bug fix
2020-12-07 18:04:10 -08:00
Rainer Simon
1c80007ef4
Merge pull request #38 from dnoneill/purpose-dropdown
...
Purpose dropdown
2020-12-07 09:02:17 +01:00
Niqui O'Neill
6aa488690c
const purposes update
2020-12-04 09:04:35 -08:00
Niqui O'Neill
c6d4ba8c45
remove unused variables
2020-11-30 14:31:55 -08:00
Niqui O'Neill
751946a5eb
update dropdown widget
2020-11-30 14:26:25 -08:00
Niqui O'Neill
e1276a60e1
fix purpose dropdown
2020-11-30 14:21:35 -08:00
Niqui O'Neill
71aa9c128e
fix purpose when missing
2020-11-30 13:19:57 -08:00
Rainer Simon
103e89673c
Updated WebAnnotation/Selection equals method
2020-11-28 17:35:44 +01:00