integer-net / magento2-configurable-wysiwyg
Configure the Magento 2 WYSIWYG Editors: Remove buttons, adjust headings, ...
Installs: 1 388
Dependents: 0
Suggesters: 0
Security: 0
Stars: 10
Watchers: 9
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.1||~7.2||~7.3||~7.4||~8.1
- magento/framework: ^102.0.0||^103.0.0
Requires (Dev)
- magento/magento-coding-standard: @dev
- pds/skeleton: ^1.0
- phpro/grumphp: ^v0.21.0
- phpstan/phpstan: ^0.12.0
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-10-29 06:05:56 UTC
README
Configure the Magento 2 WYSIWYG Editors: Remove buttons, adjust headings, ...
Requirements
- Magento 2.3.x or 2.4.x
Installation
-
Install it into your Magento 2 project with composer:
composer require integer-net/magento2-configurable-wysiwyg
-
Enable module
bin/magento setup:upgrade
Configuration
You can find all configuration settings for this module in Store -> Configuration -> General -> Content Management:
These are the new fields and their default settings:
Toolbar Elements
This defines which icons will be available in the WYSIWYG editors. By default it looks like this:
If you deselect some of the entries, it can look as follows:
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.