https://saqimtiaz.github.io/tw5-plugins-sandbox/#Macy%3A%20Example%20with%20lightbox
I want to create an editor toolbar button to wrap the macy widget and spotlight action as shown in the link above around image links.
prefix will
<$macy columns="6" breakAt="1300:5:15:15 940:3:10:10 520:2:5:5 400:1:1:1">
<$let imgs="""
suffix will be
"""
>
<$list filter="[enlist<imgs>]" variable="img">
<$button class="tc-btn-invisible item-container" tag="div" actions="""
<$action-spotlight
$images=<<imgs>>
$start=<<img>>
/>""">
<$image source=<<img>> class="item" />
</$button>
</$list>
</$let>
</$macy>
Its little complex because of the multiple lines of code involved. Can someone help?