Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable the lightbox script to load for all CoBlocks galleries #2589

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

AnthonyLedesma
Copy link
Member

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

LightBoxAllGalleries

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:

  • My code is tested
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've included any necessary tests
  • I've included developer documentation
  • I've added proper labels to this pull request

Copy link
Contributor

@EvanHerman EvanHerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple enough 👍

@AnthonyLedesma AnthonyLedesma merged commit 0a2cecc into master Feb 27, 2024
75 checks passed
@AnthonyLedesma AnthonyLedesma deleted the enable-lightbox-all-galleries branch February 27, 2024 20:15
@AnthonyLedesma AnthonyLedesma added this to the Next Release milestone Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ISBAT ...Carousel block doesn't allow images to be enlarged
3 participants