PHPackages                             element119/module-page-builder-custom-data-attributes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. element119/module-page-builder-custom-data-attributes

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

element119/module-page-builder-custom-data-attributes
=====================================================

A Magento 2 module that allows custom data to be added to Page Builder content.

1.0.1(4y ago)1316.7k↓15.6%3[1 issues](https://github.com/pykettk/module-page-builder-custom-data-attributes/issues)1OSL-3.0JavaScript

Since Jan 26Pushed 1y ago2 watchersCompare

[ Source](https://github.com/pykettk/module-page-builder-custom-data-attributes)[ Packagist](https://packagist.org/packages/element119/module-page-builder-custom-data-attributes)[ RSS](/packages/element119-module-page-builder-custom-data-attributes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (1)

element119 | Page Builder Custom Data Attributes
================================================

[](#element119--page-builder-custom-data-attributes)

[![status](https://camo.githubusercontent.com/095ce2db3d1500226df36ce572d32bba35271ad23f3fdbd91c7a9a437c5e8edd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d3566633233382e737667)](https://camo.githubusercontent.com/095ce2db3d1500226df36ce572d32bba35271ad23f3fdbd91c7a9a437c5e8edd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7374617475732d6163746976652d3566633233382e737667)[![github release](https://camo.githubusercontent.com/e514b25ab679e4b8d728f4081767ca9b85951d60544472f885719507e19d2afc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f70796b6574746b2f6d6f64756c652d706167652d6275696c6465722d637573746f6d2d646174612d617474726962757465733f636f6c6f723d666662663030266c6162656c3d76657273696f6e)](https://camo.githubusercontent.com/e514b25ab679e4b8d728f4081767ca9b85951d60544472f885719507e19d2afc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f70796b6574746b2f6d6f64756c652d706167652d6275696c6465722d637573746f6d2d646174612d617474726962757465733f636f6c6f723d666662663030266c6162656c3d76657273696f6e)[![github release date](https://camo.githubusercontent.com/78f118582a8e3938ce89e5d9f810ac95598761697329ba8eca0053edd8aa5ec5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f70796b6574746b2f6d6f64756c652d706167652d6275696c6465722d637573746f6d2d646174612d617474726962757465733f636f6c6f723d386233326138266c6162656c3d6c61737425323072656c65617365)](https://camo.githubusercontent.com/78f118582a8e3938ce89e5d9f810ac95598761697329ba8eca0053edd8aa5ec5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f70796b6574746b2f6d6f64756c652d706167652d6275696c6465722d637573746f6d2d646174612d617474726962757465733f636f6c6f723d386233326138266c6162656c3d6c61737425323072656c65617365)[![magento](https://camo.githubusercontent.com/2bdd66314a641894ffc2a2ab9a0d268e98600e45138ae8b68e3bfaf263ca2e47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d253545322e342e332d6563363631312e737667)](https://camo.githubusercontent.com/2bdd66314a641894ffc2a2ab9a0d268e98600e45138ae8b68e3bfaf263ca2e47/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d253545322e342e332d6563363631312e737667)[![license](https://camo.githubusercontent.com/d5825877ca1b85c91501e0d9b5e7f47a88b371c399f58d8ac38d1686d4508a08/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4f534c2d6666303064642e737667)](https://camo.githubusercontent.com/d5825877ca1b85c91501e0d9b5e7f47a88b371c399f58d8ac38d1686d4508a08/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4f534c2d6666303064642e737667)[![packagist downloads](https://camo.githubusercontent.com/b6fec273d113df1324cfdd46d85fe4ee3067ca6a8cdaceb5c1c29a4ff3800d82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c656d656e743131392f6d6f64756c652d706167652d6275696c6465722d637573746f6d2d646174612d617474726962757465733f636f6c6f723d666630303030)](https://camo.githubusercontent.com/b6fec273d113df1324cfdd46d85fe4ee3067ca6a8cdaceb5c1c29a4ff3800d82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656c656d656e743131392f6d6f64756c652d706167652d6275696c6465722d637573746f6d2d646174612d617474726962757465733f636f6c6f723d666630303030)

---

🤝 Compatibility
---------------

[](#-compatibility)

For Adobe Commerce, install [`element119/module-page-builder-custom-data-attributes-commerce`](https://github.com/pykettk/module-page-builder-custom-data-attributes-commerce)instead.

📝 Features
----------

[](#-features)

✔️ Allows custom data to be added to Page Builder content

✔️ Supports custom Page Builder content types

✔️ Gives store admins full over the `name` and `value` of custom attributes

✔️ Uses dynamic rows to allow admins to create, edit, and delete custom attributes as required

🔌 Installation
--------------

[](#-installation)

Run the following command to *install* this module:

```
composer require element119/module-page-builder-custom-data-attributes
php bin/magento setup:upgrade
```

⏫ Updating
----------

[](#-updating)

Run the following command to *update* this module:

```
composer update element119/module-page-builder-custom-data-attributes
```

❌ Uninstallation
----------------

[](#-uninstallation)

Run the following command to *uninstall* this module:

```
composer remove element119/module-page-builder-custom-data-attributes
php bin/magento setup:upgrade
```

🔧 Custom Content Types
----------------------

[](#-custom-content-types)

To add custom data attributes to custom Page Builder content types simply copy the code below and paste it into the `` node of all appropriate `view/adminhtml/pagebuilder/content_type/{{custom_content_type}}.xml`files.

```

```

An expanded XML tree is shown below to serve as an example.

```

```

📚 User Guide
------------

[](#-user-guide)

### Configuration and Output

[](#configuration-and-output)

[![full](https://user-images.githubusercontent.com/40261741/151176871-0ac887fe-00a5-4d4b-9686-5d6596b6c72f.png)](https://user-images.githubusercontent.com/40261741/151176871-0ac887fe-00a5-4d4b-9686-5d6596b6c72f.png)

### Notes

[](#notes)

The HTML `data-custom-attributes` attribute will not be added when there is no data to output.

[![step-4](https://user-images.githubusercontent.com/40261741/151177231-a2829da7-bf69-4fec-a4aa-caf2ce213101.png)](https://user-images.githubusercontent.com/40261741/151177231-a2829da7-bf69-4fec-a4aa-caf2ce213101.png)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1573d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9eb2b9f555deb74b70b6fa37fe4e505579581ee49c6ca3420dcd769602cf8107?d=identicon)[pykettk](/maintainers/pykettk)

---

Top Contributors

[![pykettk](https://avatars.githubusercontent.com/u/40261741?v=4)](https://github.com/pykettk "pykettk (17 commits)")

### Embed Badge

![Health badge](/badges/element119-module-page-builder-custom-data-attributes/health.svg)

```
[![Health](https://phpackages.com/badges/element119-module-page-builder-custom-data-attributes/health.svg)](https://phpackages.com/packages/element119-module-page-builder-custom-data-attributes)
```

###  Alternatives

[markshust/magento2-module-pagebuildersourcecode

The Page Builder Source Code module adds a Source Code button to the toolbar of the Page Builder WYSIWYG editor.

119103.3k](/packages/markshust-magento2-module-pagebuildersourcecode)[mage-os/module-page-builder-template-import-export

PageBuilder template import/export module

185.5k](/packages/mage-os-module-page-builder-template-import-export)[ccerda0520/page-builder-enhancements

A Magento 2 module that adds features on top of the page builder module.

1021.0k](/packages/ccerda0520-page-builder-enhancements)[webidea24/magento2-module-pagebuilder-wysiwyg-html-editor

Magento 2 Module: Make the toggle-Button for HTML Editor available in PageBuilder elements

123.4k](/packages/webidea24-magento2-module-pagebuilder-wysiwyg-html-editor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
