Ensure section thumbnail previews load correctly
Images and other content don’t seem to be loading in all section previews when inserting a section from section library.
This is a dynamic section (Liquid include) but also happens with background images on static sections:


Log in to comment and vote
Comments1
Matt Jones
Jan 15
In order to make this suitable for any animation library, we will document some data-attributes which can be added to the beginning of the section code. e.g.
data-studio-preview-class="aos-foo aos-bar"
data-studio-preview-attr="data-aos"
Which allow the section developer to specify any classes or data-attributes from any animation library which should be automatically removed for previews only.