Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magebit (1)

Developed by Magebit. Have questions or need help? Contact us at info@magebit.com or on our website.

In order to add preview field to your widget add a field like in example

        <parameter name="widget_name_preview" xsi:type="block" visible="true" sort_order="30">
            <label translate="true">Preview</label>
            <block class="Magebit\WidgetPreview\Block\Adminhtml\Widget\PreviewWidgetField"/>
        </parameter>

Preview images should be imported under /media/widget_preview/ and follow strict naming - %widget_id%_preview.png

About

Repo for widget preview functionality

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages