Magento 2 WYSIWYG Editor
What is Magento 2 WYSIWYG Editor?
WYSIWYG (‘what you see is what you get’) Editor is an add-in used in the backend for content editing. It allows people who don’t work with HTML to edit content. Besides, it speeds up content publishing as there is no need to put in all the tags and attributes. By using the editor, you can see how the updates will look like while creating the frontend of a Magento 2 website.
Given you seek for more custom options for your blog layout, try this GraphQL-read-compatible M2 Blog Pro extension. It comes with advanced SEO options, 3D tags and advanced categories, a customizable layout and, what's most important, AMP for smooth UX on any mobile device.
Handy, isn’t it? However, the other side of the HTML WYSIWYG editor is that sometimes it can break bonds and insert the markup code where it is unwanted. Therefore, a qualified Magento 2 developer has to know the markup language to get into the code and clean everything up.
How to enable/disable Magento 2 WYSIWYG Editor?
- Log in to the Admin Panel and go to Store>Configuration:
And then change to General>Content Management:
- WYSIWYG is enabled in Magento 2 by default. To use the option uncheck the Use system value box:
- Choose one of the offered options: Disabled by Default; Disabled Completely; Enabled by Default:
Don’t forget to click the Save Config button.
- Then clear the cache. For this, go to System>Cache Management>Select all>Refresh>Submit:
Magento 2 show/hide WYSIWYG Editor is not working
When switching between Show/Hide Editor and refreshing the page the Magento WYSIWYG Editor appears only randomly, images are broken/ not showing or nothing happens at all. Have come across the issue? Check all the basic requirements. If the Magento 2 WYSIWYG editor is still not working, make sure the cache is cleared.
Is it possible to upload PDF fils using WYSIWYG in Magento 2?
Unfortunately in vanilla Magento 2 you can't upload PDF files using WYSIWYG.
Login and Registration Form