Customizations with the @annotorious/react #331
Replies: 2 comments 31 replies
-
Some answers below:
|
Beta Was this translation helpful? Give feedback.
-
I think some of the work-in-progress repos might be pointing to super-early versions of Annotorious which I've unpublished in the meantime, to avoid having a list of 100 dev versions on npm. (You can see it if the version has something like As for the text layer specifically, I think I haven't actually published that so far. I can see that the dependencies still point to local folders. I.e. for now, you could check out the Annotorious 3 branch locally, and change the paths to match your own system. I'll try to roll an official release. But probably not this week anymore. |
Beta Was this translation helpful? Give feedback.
-
Firstly, it's nice to have a package that handles both the annotations and the viewer in react. I had a few things I wanted to ask and hopefully get some directions on how to integrate them.
The library has a Rectangle as its default shape. I see there's "annotorious-v2-selector-pack" library which has got other shapes too. How can I select the shape (tool) with this package using the library and perhaps even create our own shapes?
Is there also a way to "erase" the created shapes?
It would be great to have an even greater control over the shapes (like the css).
The docs are probably a better place for some of these. In any case, appreciate the time and effort put into this library.
Beta Was this translation helpful? Give feedback.
All reactions