integer-net/magento2-configurable-wysiwyg

Configure the Magento 2 WYSIWYG Editors: Remove buttons, adjust headings, ...

1.0.2 2022-09-30 09:22 UTC

This package is auto-updated.

Last update: 2024-04-29 04:40:19 UTC


README

Latest Version on Packagist Software License Supported Magento Versions

Quality Score Maintainability

Configure the Magento 2 WYSIWYG Editors: Remove buttons, adjust headings, ...

Requirements

  • Magento 2.3.x or 2.4.x

Installation

  1. Install it into your Magento 2 project with composer:

    composer require integer-net/magento2-configurable-wysiwyg
    
  2. Enable module

    bin/magento setup:upgrade
    

Configuration

You can find all configuration settings for this module in Store -> Configuration -> General -> Content Management:

Menu

These are the new fields and their default settings:

Configuration fields

Toolbar Elements

This defines which icons will be available in the WYSIWYG editors. By default it looks like this:

Default icons

If you deselect some of the entries, it can look as follows:

Reduced Icons

Show "Insert Variable" button

This button is used to insert variable values into content, like the store name. It's not used very often so it's probably safe to disable that button.

Show "Insert Widget" button

You only need that button if you are using Widgets (i.e. for inserting product lists, dynamic links or static blocks) in Magento CMS.

Show "Insert Image" button

You might want to disable this button if you don't want to insert images directly into WYSIWYG fields.

Usage

If you change anything on the configuration page and click "Save Config", the settings will be applied to all WYSIWYG fields from then on.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email security@integer-net.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.