Skip to content

Commit

Permalink
enable the lightbox script to load for all CoBlocks galleries (#2589)
Browse files Browse the repository at this point in the history
Co-authored-by: aledesma-godaddy <[email protected]>
  • Loading branch information
AnthonyLedesma and aledesma-godaddy authored Feb 27, 2024
1 parent 1c247b7 commit 0a2cecc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/blocks/gallery-carousel/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"title": "Carousel",
"textdomain": "coblocks",
"editorScript": ["coblocks-1"],
"viewScript": ["coblocks-lightbox"],
"script": [ "coblocks-tiny-swiper", "coblocks-tinyswiper-initializer" ],
"description": "Display multiple images in a beautiful carousel gallery.",
"supports": {
Expand Down
1 change: 1 addition & 0 deletions src/blocks/gallery-collage/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@
"title": "Collage",
"textdomain": "coblocks",
"editorScript": ["coblocks-4"],
"viewScript": ["coblocks-lightbox"],
"description": "Assemble images into a beautiful collage gallery."
}
1 change: 1 addition & 0 deletions src/blocks/gallery-offset/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"title": "Offset",
"textdomain": "coblocks",
"editorScript": ["coblocks-7"],
"viewScript": ["coblocks-lightbox"],
"description": "Display images in an offset brick pattern gallery."
}
1 change: 1 addition & 0 deletions src/blocks/gallery-stacked/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@
"textdomain": "coblocks",
"title": "Stacked",
"editorScript": ["coblocks-10"],
"viewScript": ["coblocks-lightbox"],
"description": "Display multiple images in a single column stacked gallery."
}

0 comments on commit 0a2cecc

Please sign in to comment.