So I am working on NavPlus, and I have a keydown event listener, only I find I get an error, because suddenly its looking for lightbox (which is not being used in the dev project) with the blocs javascript
I’m not sure, the blocs.js includes the event listener for keydown for navigation of light box, so there is obviously a conflict here between your code and the default Blocs code.
I may be able to adjust the event listener for light boxes, so it’s harder to conflict with from other JS.
This would need a week or so of testing, so I’ll come back to this in V5.2.1.
I was scrolling through the impressive list of new features (and fixes) and I don’t see a “Copy All” option for adding images to the Asset Manager.
We traded e-mails on this a while back, and I was hoping to see it in the 5.2 release.
Just realised, beyond navigating with keyboard (which I have solved for NavPlus), when you close an Offcanvas with Esc, it will obviously throw the lightbox js error too.
I will wait until you amend the blocs.js before I do any more around the error. Because I don’t want to create a bunch of event listeners just to avoid this. Especially when it affects any website built with Blocs and a user using accessibility assistance.