Fixes #2571
Not all galleries properly listed the 'Lightbox' script to load under the 'viewScript' block.json property. Adding the script allows the Lightbox to function as expected with all CoBlocks galleries.
Screenshots
Types of changes
Change here to block.json to allow for proper loading of the 'lightbox-script'.
How has this been tested?
Tested manually.
Acceptance criteria
Should allow the Lightbox on all CoBlocks galleries if only that single gallery is present on the page or all of them. Each block now ensures the script is loaded.
Description
Fixes #2571 Not all galleries properly listed the 'Lightbox' script to load under the 'viewScript' block.json property. Adding the script allows the Lightbox to function as expected with all CoBlocks galleries.
Screenshots
Types of changes
Change here to block.json to allow for proper loading of the 'lightbox-script'.
How has this been tested?
Tested manually.
Acceptance criteria
Should allow the Lightbox on all CoBlocks galleries if only that single gallery is present on the page or all of them. Each block now ensures the script is loaded.
Checklist: