Allow SVG images to be used in CMS blocks and pages via the TinyMCE Wysiwyg Editor.
Compatible with Magento 2.4.0 and higher.
- Install via composer
composer require hyva-themes/magento2-wysiwyg-svg - Enable module
bin/magento setup:upgrade
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.
Thanks to Pekka M. for the help figuring out how to customize the editor.
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.txtfile within this package, and is also available online at http://opensource.org/licenses/osl-3.0.php.
