Closed Mecanik closed 3 years ago
Hi @Mecanik , and thank you for your contribution. I'll have a look at it as soon as possible and integrate the changes for you as it seems that you can't create a pull request yourself :slightly_smiling_face:
@Mecanik that should do, let me know if something is still not working
I don't know what's wrong with the permissions but I`m unable to create a pull request, sorry.
This adds BS 5 support without affecting previous BS versions. When using WebPack ensure you declare the bootstrap import properly (window.bootstrap = bootstrap;). A small fix is also made to prevent duplication of CropperJS when cancelling an upload and selecting a different image.
bootstrap_5.html.twig
cropper.js
76