{"repo":"mage-os/module-page-builder-widget","free":true,"listed":false,"github":"https://github.com/mage-os/module-page-builder-widget","clone":"git clone https://github.com/mage-os/module-page-builder-widget.git","description":"Native Magento Page Builder support for CMS Widgets","language":"HTML","stars":30,"topics":["mage-os","magento","magento2","admin","adobecommerce","ecommerce","extension","mage-os-lab","page-builder"],"license":"MIT","category":"ecommerce","readme_excerpt":"MageOS PageBuilder Widget Module for Magento New page builder component named \"CMS Widget\". --- 🚀 Features The PageBuilder Widget module allows the user to specify CMS widgets and relative configurations inside a dedicated page builder component named \"CMS Widget\". As for all pagebuilder components this component is draggable and can be placed inside other components. If supported, the page builder will show widget content inside stage preview. 🔌 How it works Widget Preview assignment In order to create a widget preview you must create a new widget.xml file inside your module changing Magento Widget xsd file inside \"xsi:noNamespaceSchemaLocation\" attribute of \"widget\" xml node. Literally change with that: Now you're able to specify new widget.xml nodes: - previewTemplates - previewCss - previewJs - previewBlock - previewBlockArguments previewTemplates XML node This is where all starts :) inside this node you must specify each phtml preview file and his relation to the widget frontend phtml view. So, checking widget.xml inside this module: As you know xml files are all merged so here we need to specify the widget id and then the previewTemplates node. The Magento Widget widget.xml specify widget's parameters and, inside of them, a \"template\" parameter where multiple templates are specified: For each of these options we need to copy the value inside \"previewsTemplate\" child \"previewTemplate\" node \"name\" attribute and our phtml preview file inside his content. So, specifying t","default_branch":null,"files":null,"tree":[],"storefront":"/r/mage-os","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mage-os/module-page-builder-widget/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}