hyva-themes/magento2-wysiwyg-svg

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

Installs: 72 819

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 4

Forks: 6

Open Issues: 3

Type:magento2-module

1.0.3 2024-06-20 15:05 UTC

This package is auto-updated.

Last update: 2024-12-20 16:22:21 UTC


README

Hyvä Themes

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

hyva-themes/magento2-wysiwyg-svg

Supported Magento Versions

Compatible with Magento 2.4.0 and higher.

Installation

  1. Install via composer
    composer require hyva-themes/magento2-wysiwyg-svg
    
  2. Enable module
    bin/magento setup:upgrade
    

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

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

License

Hyvä Themes - https://hyva.io

Copyright © Hyvä Themes B.V 2020-present. All rights reserved.

The BSD-3-Clause License. Please see License File for more information.