# magefan/module-wysiwyg-advanced

> Extend TinyMCE 4 in Magento 2

`composer require magefan/module-wysiwyg-advanced`

Canonical URL: https://packagento.com/magefan/module-wysiwyg-advanced

## At a glance

- **Vendor**: magefan (https://packagento.com/magefan.md)
- **Latest version**: 2.0.19 — released 2026-03-16
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/magefan/module-wysiwyg-advanced and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require magefan/module-wysiwyg-advanced:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Extend TinyMCE 4 in Magento 2

## README

[![Total Downloads](https://poser.pugx.org/magefan/module-wysiwyg-advanced/downloads)](https://packagist.org/packages/magefan/module-wysiwyg-advanced)
[![Latest Stable Version](https://poser.pugx.org/magefan/module-wysiwyg-advanced/v/stable)](https://packagist.org/packages/magefan/module-wysiwyg-advanced)

<img  align="right" width="120" height="70" src="https://magefan.com/media/wysiwyg/made_in_ukraine.jpg">

This extension allows you to extend TinyMCE 4, 5, 6 and 7 tools in Magento 2, e.g.: add, image, html code, undo-redo, styleselect, fontsizeselect, forecolor backcolor, bold, italic, underline, strikethrough, alignleft, aligncenter, alignright alignjustify, bullist, numlist, outdent, indent, table, image, code. [Read more details...](https://magefan.com/blog/magento-2.3-tinymce-4-text-color-tool-missing)


Based on [stackexchange answer](https://magento.stackexchange.com/questions/263745/magento-2-3-tinymce4-toolbar-and-plugin-configuration#answer-263891) by [Mike Dubs](https://magento.stackexchange.com/users/77224/mike-dubs).


<div>
          <img
            src="https://magefan.com/media/wysiwyg/Blog/TinyMCE4-magento2-v2.png"
            alt="TinyMCE 4 in Magento 2" />
</div>

### 🇺🇦 Stand with Ukraine! [How can you help?](https://magefan.com/blog/join-our-donations)

### Installation
```
composer require magefan/module-wysiwyg-advanced
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
```

### [Magento Extensions](https://magefan.com/magento-2-extensions) by Magefan

#### Magento 2 SEO Extensions

* [Magento SEO](https://magefan.com/magento-2-seo-extension)
* [Magento 2 Rich Snippets](https://magefan.com/magento-2-rich-snippets)
* [Magento 2 HTML Sitemap](https://magefan.com/magento-2-html-sitemap-extension)
* [Magento 2 XML Sitemap](https://magefan.com/magento-2-xml-sitemap-extension)
* [Magento 2 Twitter Cards](https://magefan.com/magento-2-twitter-cards-extension)
* [Magento Open Graph Tags](https://magefan.com/magento-2-open-graph-extension-og-tags)

#### [Magento 2 Google Extensions](https://magefan.com/magento-2-extensions/google-extensions)

* [Magento Google Tag Manager](https://magefan.com/magento-2-google-tag-manager)
* [Magento 2 Google Analytics 4](https://magefan.com/magento-2-google-analytics-4)
* [Magento Google Shopping Feed](https://magefan.com/magento-2-google-shopping-feed-extension)
* [Magento Google Customer Reviews](https://magefan.com/magento-2-google-customer-reviews)
* [Magento 2 Google Indexing](https://magefan.com/magento-2-google-indexing-api)

#### [Magento Speed Optimisation Extensions](https://magefan.com/magento-2-extensions/speed-optimization)

* [Magento 2 Google Page Speed Optimizer](https://magefan.com/magento-2-google-page-speed-optimizer)
* [Magento 2 WebP Images](https://magefan.com/magento-2-webp-optimized-images)
* [Magento Full Page Cache Extension](https://magefan.com/magento-2-full-page-cache-warmer)
* [Magento 2 Lazy Load Images](https://magefan.com/magento-2-image-lazy-load-extension)
* [Magento 2 Defer JavaScript](https://magefan.com/rocket-javascript-deferred-javascript)

#### [Magento Admin Extensions](https://magefan.com/magento-2-extensions/admin-extensions)

* [Magento 2 Dynamic Category](https://magefan.com/magento-2-dynamic-categories)
* [Magento 2 Size Chart](https://magefan.com/magento-2-size-chart)
* [Magento 2 Security Extension](https://magefan.com/magento-2-security-extension)
* [Magento 2 Admin Action Log](https://magefan.com/magento-2-admin-action-log)
* [Magento Extended Product Grid](https://magefan.com/magento-2-product-grid-inline-editor)
* [Magento 2 Product Tabs](https://magefan.com/magento-2/extensions/product-tabs)
* [Magento 2 Product Widget](https://magefan.com/magento-2-product-widget)
* [Magento 2 Email Attachments](https://magefan.com/magento-2-email-attachments)
* [Magento 2 Admin View](https://magefan.com/magento-2-admin-view-extension)
* [Magento 2 Email Notifications](https://magefan.com/magento-2-admin-email-notifications)
* [Magento 2 Login As Customer](https://magefan.com/login-as-customer-magento-2-extension)

#### [Magento Order Management Extensions](https://magefan.com/magento-2-extensions/order-management)

* [Magento Order Editor](https://magefan.com/magento-2-edit-order-extension)
* Better [Magento 2 Order Grid](https://magefan.com/magento-2-better-order-grid-extension)
* [Magento 2 Guest to Customer](https://magefan.com/magento2-convert-guest-to-customer)
* [Magento POS System](https://magefan.com/magento-pos-system)

#### Magento 2 Blog Extensions

* [Magento 2 Blog Extension](https://magefan.com/magento2-blog-extension)
* [Magento 2 Multi Blog](https://magefan.com/magento-2-multi-blog-extension)

#### [Magento Marketing Extensions](https://magefan.com/magento-2-extensions/marketing-automation)

* [Magento 2 Facebook Pixel](https://magefan.com/magento-2-facebook-pixel-extension)
* [Magento TikTok Pixel](https://magefan.com/magento-2-tiktok-pixel)
* [Magento 2 Dynamic Blocks](https://magefan.com/magento-2-cms-display-rules-extension) and Pages
* [Magento 2 Cookie Consent](https://magefan.com/magento-2-cookie-consent)
* [Magento 2 Base Price](https://magefan.com/magento-2-base-price)
* [Magento 2 Price History](https://magefan.com/magento-2-price-history)
* [Magento 2 Mautic Extension](https://magefan.com/magento-2-mautic-extension)
* [Magento 2 YouTube Video](https://magefan.com/magento2-youtube-extension)

#### [Magento Promotions Extensions](https://magefan.com/magento-2-extensions/promotions-extensions)

* [Magento 2 Automatic Related Products](https://magefan.com/magento-2-automatic-related-products)
* [Magento 2 Product Labels](https://magefan.com/magento-2-product-labels)
* [Magento 2 Coupon Code Extension](https://magefan.com/magento-2-coupon-code-link)

#### [Magento 2 Multi-Language Extensions](https://magefan.com/magento-2-extensions/multi-language-extensions)

_(README truncated for .md surface. Full README on https://packagento.com/magefan/module-wysiwyg-advanced.)_

## Recent Versions

| Version | Released |
|---|---|
| 2.0.19 | 2026-03-16 |
| 2.0.18 | 2025-05-08 |
| 2.0.17 | 2025-03-07 |
| 2.0.16 | 2024-10-25 |
| 2.0.15 | 2023-05-30 |
| 2.0.14 | 2023-02-02 |
| 2.0.13 | 2022-12-20 |
| 2.0.12 | 2022-04-20 |
| 2.0.11 | 2022-04-07 |
| 2.0.10 | 2020-07-17 |

Showing 10 of 22 versions. Full release history on https://packagento.com/magefan/module-wysiwyg-advanced.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magefan/module-community | >=2.3.4 |

## Quality

Latest release (2.0.19) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | Pass | Pass | – | – |
| 2.4.8 | – | Pass | Pass | – |
| 2.4.9 | – | – | Pass | Pass |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Pass | 0 |  |
| PHPMD | Warning | 5 | 5 rule violations (UnusedFormalParameter:3, CyclomaticComplexity:1, NPathComplexity:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 2 | valid; 2 advisory notes (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | 50 | 50 | – | – |
| 2.4.8 | – | 59 | 59 | – |
| 2.4.9 | – | – | 59 | 59 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["magefan/module-wysiwyg-advanced"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

magefan is a Magento 2 vendor on Packagento. See https://packagento.com/magefan.md for their full catalogue.

