Skip to content

Instantly share code, notes, and snippets.

View aleron75's full-sized avatar

Alessandro Ronchi aleron75

View GitHub Profile
@aleron75
aleron75 / mage-os-pagebuilder-explanation.md
Last active October 19, 2025 11:20 — forked from dadolun95/mage-os-pagebuilder-explanation.md
Mage-OS Page Builder Widget component explanation

Why we need this module and that kind of feature?

Mage-OS PageBuilder Widget module (part of the Mage-OS release since 2.0 version) allows the user to specify CMS widgets and the related configurations inside a dedicated PageBuilder component named "CMS Widget". As for all PageBuilder components, this component is draggable and can be placed inside other components. The main feature of this module is the ability to configure widgets and see a preview on the PageBuilder.

In terms of developer experience, this module is an enhancement that eliminates the need to develop PageBuilder dedicated components and understand all the stuff behind it (UI Components, PageBuilder inheritance logic, preview vs actual frontend representation).

The main goal of the module is to simplify the development, customization and usage of PageBuilder UI components, relying entirely on CMS widgets (that are pretty easy to use).

@aleron75
aleron75 / 0_reuse_code.js
Created September 22, 2016 12:10
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console