e-conomix/dmatthew-magento2-widget-parameters
最新稳定版本:1.2.1
Composer 安装命令:
composer require e-conomix/dmatthew-magento2-widget-parameters
包简介
Custom widget parameter types for improved CMS Page building
README 文档
README
Useful widget parameter types for improved CMS Page building in Magento 2. Adds new parameter types like an image selector, wysiwyg text editor, or textarea. You can now use these parameter types in your custom widgets.
How to Use
Image Selector
<parameter xsi:type="block" name="background_image" visible="true" sort_order="10"> <label translate="true">Background Image</label> <block class="Dmatthew\WidgetParameters\Block\Adminhtml\Widget\Type\ImageChooser"> <data> <item name="button" xsi:type="array"> <item name="open" xsi:type="string">Choose Image...</item> </item> </data> </block> </parameter>
Textarea
<parameter xsi:type="block" name="body_text" visible="true" sort_order="10"> <label translate="true">Body Text</label> <block class="Dmatthew\WidgetParameters\Block\Adminhtml\Widget\Type\Textarea" /> </parameter>
Wysiwyg
<parameter xsi:type="block" name="body_text" visible="true" sort_order="10"> <label translate="true">Body Text</label> <block class="Dmatthew\WidgetParameters\Block\Adminhtml\Widget\Type\Wysiwyg" /> </parameter>
License
Attribution
This software uses Open Source software. See the ATTRIBUTION page for these projects.
统计信息
- 总下载量: 12.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-08-08


