markshust / magento2-module-pagebuildersourcecode
markshust/magento2-module-pagebuildersourcecode
The Page Builder Source Code module adds a Source Code button to the toolbar of the Page Builder WYSIWYG editor.
MarkShust_PageBuilderSourceCode
Adds a Source Code button to the toolbar of the Page Builder WYSIWYG editor.
Table of contents
Summary
Page Builder does not come with a way to edit the HTML source code when editing a text block. Sometimes it is desired to override the default styles and edit the HTML manually. This module adds the "code" icon to the toolbar to allow this capability.
If you'd like to learn a bit more about why & how you'd use this module, check out the explainer video of this module, created by Webverse.
Requirements
This module requires the Page Builder module, which comes installed with Magento Commerce 2.3.1+.
Installation
composer require markshust/magento2-module-pagebuildersourcecode
bin/magento module:enable MarkShust_PageBuilderSourceCode
bin/magento setup:upgrade
Usage
This module has no configuration. Just install, and you'll see the code icon in the Page Builder WYSIWYG editor toolbar.

Credits
M.academy
This repository is sponsored by M.academy, the simplest way to learn complex tech skills.
License
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[2.0.0] - 2025-03-12
Tagging as major release, since implementation has completely changed.
Fixed
- Use plugin to support all versions of Magento PR #13.
- Above update also fixes "removes format and line height icons" issue #12.
[1.0.5] - 2024-03-06
Fixed
- Fixed Magento widget and variable icons disappearing after installing this module PR #9.
[1.0.4] - 2021-12-20
Fixed
- Fixed bullet list icon missing from TinyMCE4 editor PR #7.
[1.0.3] - 2021-10-28
Fixed
- Updated deps to resolve PHP and MF version constraint issues #4.
[1.0.2] - 2019-10-18
Fixed
- Updated composer version constraints to support newer versions of Magento.
[1.0.1] - 2019-08-28
Fixed
- Updated dependencies to support Magento 2.3.2 PR #2.
[1.0.0] - 2019-05-27
Added
- Initial release.
| Version | Stability | QA Status | Released |
|---|---|---|---|
| 2.0.1 | stable | Pass | 2025-03-17 12:32:34 |
| 2.0.0 | stable | Not tested | 2025-03-12 12:53:54 |
| 1.0.5 | stable | Not tested | 2024-03-07 00:51:42 |
| 1.0.4 | stable | Not tested | 2021-12-20 16:37:06 |
| 1.0.3 | stable | Not tested | 2021-10-28 14:08:48 |
| 1.0.2 | stable | Not tested | 2019-10-18 11:05:13 |
| 1.0.1 | stable | Not tested | 2019-08-28 21:10:40 |
| 1.0.0 | stable | Not tested | 2019-05-27 05:08:02 |
Requires 3
| Package | Constraint |
|---|---|
| magento/framework | ^100|^101|^102|^103 |
| magento/module-page-builder | ^1||^2 |
| php | ^7||^8 |
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Pass | 0 | |
| PHPStan | Pass | 0 | |
| Cpd | Pass | 0 | |
| Security | Pass | 0 |
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.
