PHPackages                             hyva-themes/magento2-wysiwyg-svg - 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. hyva-themes/magento2-wysiwyg-svg

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

hyva-themes/magento2-wysiwyg-svg
================================

Allow SVGs and all tailwind classes in CMS block and page content.

1.0.4(9mo ago)17130.8k—8.6%8[3 issues](https://github.com/hyva-themes/magento2-wysiwyg-svg/issues)BSD-3-ClausePHPPHP ~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Jun 29Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/hyva-themes/magento2-wysiwyg-svg)[ Packagist](https://packagist.org/packages/hyva-themes/magento2-wysiwyg-svg)[ RSS](/packages/hyva-themes-magento2-wysiwyg-svg/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (6)Used By (0)

Hyvä Themes - SVG support for the Magento CMS Wysiwyg Editor
============================================================

[](#hyvä-themes---svg-support-for-the-magento-cms-wysiwyg-editor)

[![Hyvä Themes](https://camo.githubusercontent.com/6617ec88f9ece631287fcfcfea346057ad648dffe78a0867a0b43d8e0350a5d2/68747470733a2f2f687976612e696f2f6d656469612f777973697779672f6c6f676f2d636f6d706163742e706e67)](https://hyva.io/)

Allow SVG images to be used in CMS blocks and pages via the TinyMCE Wysiwyg Editor.

hyva-themes/magento2-wysiwyg-svg
--------------------------------

[](#hyva-themesmagento2-wysiwyg-svg)

[![Supported Magento Versions](https://camo.githubusercontent.com/4666bc12604e0bce414b8a01e328ded896ece9ccb00105a30a145df8ab9b7c8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4666bc12604e0bce414b8a01e328ded896ece9ccb00105a30a145df8ab9b7c8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)

Compatible with Magento 2.4.0 and higher.

Installation
------------

[](#installation)

1. Install via composer ```
    composer require hyva-themes/magento2-wysiwyg-svg

    ```
2. Enable module ```
    bin/magento setup:upgrade

    ```

Usage
-----

[](#usage)

No configuration is required or available.

To use, switch a CMS Wysiwyg Editor to the HTML view and past the SVG where you want it. Then switch back to the regular view and save the CMS block or page.

Note: this module can be used with any Magento theme - there is no hard requirement to use a Hyvä frontend theme.

Credits
-------

[](#credits)

Thanks to Pekka M. for the help figuring out how to customize the editor.

### License

[](#license)

This package is licensed under the **Open Software License (OSL 3.0)**.

- **Copyright:** Copyright © 2020-present Hyvä Themes. All rights reserved.
- **License Text (OSL 3.0):** The full text of the OSL 3.0 license can be found in the `LICENSE.txt` file within this package, and is also available online at .

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance71

Regular maintenance activity

Popularity43

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 72.7% 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 ~378 days

Total

5

Last Release

271d ago

PHP version history (5 changes)1.0.0PHP ^7.4.0

1.0.1PHP ~7.4.0||~8.1.0

1.0.2PHP ~7.4.0||~8.1.0||~8.2.0

1.0.3PHP ~7.4.0||~8.1.0||~8.2.0||~8.3.0

1.0.4PHP ~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1905417db5fbd31a61553b29bd441fdc66945da7cfb14f1b20a72275c68184e8?d=identicon)[vinai](/maintainers/vinai)

![](https://www.gravatar.com/avatar/7cd0062c670f61aa554c5d30193848ac11031b6cdb8f8616249b95a235eb475d?d=identicon)[wigman](/maintainers/wigman)

---

Top Contributors

[![Vinai](https://avatars.githubusercontent.com/u/72463?v=4)](https://github.com/Vinai "Vinai (16 commits)")[![wigman](https://avatars.githubusercontent.com/u/4800926?v=4)](https://github.com/wigman "wigman (2 commits)")[![gjportegies](https://avatars.githubusercontent.com/u/6707410?v=4)](https://github.com/gjportegies "gjportegies (1 commits)")[![JeroenBoersma](https://avatars.githubusercontent.com/u/1163348?v=4)](https://github.com/JeroenBoersma "JeroenBoersma (1 commits)")[![vberthet](https://avatars.githubusercontent.com/u/1115715?v=4)](https://github.com/vberthet "vberthet (1 commits)")[![yfleuren](https://avatars.githubusercontent.com/u/42029720?v=4)](https://github.com/yfleuren "yfleuren (1 commits)")

### Embed Badge

![Health badge](/badges/hyva-themes-magento2-wysiwyg-svg/health.svg)

```
[![Health](https://phpackages.com/badges/hyva-themes-magento2-wysiwyg-svg/health.svg)](https://phpackages.com/packages/hyva-themes-magento2-wysiwyg-svg)
```

PHPackages © 2026

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