Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento 2.3 - TinyMCE 4 Toolbar / Text Color Tool Missing #30

Closed
MagefanCustomer opened this issue Oct 3, 2024 · 1 comment
Closed

Comments

@MagefanCustomer
Copy link

No description provided.

@magefan
Copy link
Owner

magefan commented Oct 3, 2024

In Magento 2.3 and greater, Magento team has changed WYSIWYG editor, instead of TinyMCE 3 Magento started use TinyMCE 4.

On the picture below, you can see Magento 2.0-2.2 TinyMCE 3  editor:

TinyMCE 3 Magento 2 Editor

Default Magento TinyMCE 4 editor does not include a lot of tools for example text color or text background and this can be inconvenient for the content manager.

Magento 2 TinyMCE 4

You can easily solve this issue, extend the WYSIWYG tool and have more options by installing magefan/module-wysiwyg-advanced free Magento 2 extension.

After the extension installation, new options will be available for you, e.g.:  text color, HTML code, undo-redo, style select, font size selector, forecolor background color, strikethrough. Example: 

Extended Magento 2 WYSIWYG editor

This extension also fix the issue with additional empty <p> tag (e.g. <p>&nbsp;</p>) and missing <style> tag in the editor.

To install magefan/module-wysiwyg-advanced, please run the CLI commands in your Magento 2 root directory:

composer require magefan/module-wysiwyg-advanced
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

P.S.: We want to thank Mike Dubs for sharing his solution at StackExchange. Based on Mike's suggestion there was created a magefan/module-wysiwyg-advanced package.

@magefan magefan closed this as completed Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants