Rainer Simon
Rainer Simon
The essential bit is too have react and react-dom as a peer dependency. Therefore, you won't be able to build a plugin with CRA. (I guess you can eject, though...
Wait... from the error messages or looks like the peer deps have nothing to do with it. (Also depends if you want to build the widget as a separate component,...
For an example React project that imports Annotorious and adds custom plugins, see here: https://github.com/machines-reading-maps/mrm-recogito-ui Note specifically the `package.json` config and `webpack.config.js`.
For posterity: - It is, unfortunately, __not__ possible to use React-based widgets in a CRA project. Reason: Annotorious/RecogitoJS requires a few extra build settings which are only possible if you...
Hi, unfortunately, that's indeed a bit of a special case. I can reproduce it, and I can see what's going on. But I'm afraid it's not going to be entirely...
Hi, the old release ZIPs had a sample HTML, image and annotations included. (More or less the contents of the development [public folder](https://github.com/recogito/annotorious/tree/main/public).) I guess it doesn't hurt to add...
Next releases will include the HTML sample file.
Yes, I'd definitely welcome that! However, not being a TS-developer myself, I'm not sure about the best approach. There was a discussion recently on the Gitter chat about posting type...
I'm CC-ing in @n0mn0m: we talked about TS type definitions & definitelytyped. Let me know if there's anything I can do to help :-)
The drop-down option is a third-party contribution that is, unfortunately, a bit unmaintained. I'll try to look into this for one of the next releases. (In the long term, the...