Skip to content

Commit

Permalink
New: Add caption to lightbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Jul 25, 2024
1 parent 5ee32b0 commit a0bee7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NodeTypes/Content/Image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
'Carbon.Image:Image': true
'Carbon.Image:AlternativeText': true
'Carbon.Image:Lightbox': true
'Carbon.Image:Caption': true
'Carbon.Image:Link': true
'Carbon.Image:BackendLabel': true
ui:
Expand Down
1 change: 1 addition & 0 deletions Resources/Private/Fusion/ContentElements/Image.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ prototype(Jonnitto.ImagesInARow:Image) < prototype(Neos.Neos:ContentComponent) {
alternativeText = ${q(node).property('alternativeText')}
link = ${q(node).property('link')}
lightbox = ${q(node).property('lightbox')}
lightboxCaption = ${q(node).property('caption')}

imageSourceSettings = Neos.Fusion:DataStructure {
dummyBaseWidth = 300
Expand Down

0 comments on commit a0bee7b

Please sign in to comment.