When the WooCommerce product short description shows a white box, the visual editor (TinyMCE) has not loaded, usually because a script from another plugin or the theme is blocking it. Your text has not been lost. To carry on straight away, click the Code tab above the field and then the Visual tab again, or type in the Code tab.
What do I see when the visual editor does not load
On the product edit screen, the Product description and Product short description fields use the classic WordPress editor, with two tabs: Visual and Code. The problem shows up in one of these ways:
- A white box in the editor, with no text and no toolbar.
- The toolbar shows, but you can't type.
- The field always opens on the Code tab and the Visual tab does not respond.
- The text shows in the Code tab but not in the Visual tab.
Often the problem affects only the short description, while the main description works.
How do I work around it right now
- Click the Code tab at the top right of the short description field.
- Wait for the page to load completely.
- Click the Visual tab again. In many cases the editor appears normally.
- If it does not appear, type the text in the Code tab. For a new paragraph leave one blank line. For bold text use the tab's b button.
- Click Update to save the product.
Whatever you type in the Code tab is saved normally and displays correctly on the site. The visual editor is just an easier way to write the same text.
Why it happens, the JavaScript conflict
The visual editor is a JavaScript program that runs in your browser. The product screen also loads scripts from other plugins and the theme, for example page builders, custom field tools, SEO or translation tools. If one of them throws an error or changes the editor the wrong way, the editor stops loading. This is a JavaScript conflict.
The problem has nothing to do with the hosting. The server sends the same files either way and the conflict happens inside the browser. It often appears after an update of a plugin or of WooCommerce and goes away with a newer version.
How do I find the cause
Check your profile setting
Open Users > Profile. If Disable the visual editor when writing is ticked, the visual editor is switched off for your user. Untick it and save.
Test in another browser
Try another browser or a private browsing window, where extensions usually don't run. If it works there, an extension in your browser is to blame, for example an ad blocker or a translation tool, or the browser cache. Clear it as explained in clearing the cache.
The browser console
- Open the product edit screen.
- Press F12 and choose the Console tab.
- Reload the page.
- Look at the messages in red. They often show the name of the file or folder of the plugin causing the error.
If you don't understand what the message says, take a screenshot. It will help the developer or the plugin's author.
Deactivating plugins on a copy of the site
The surest way to find which plugin causes the conflict is to deactivate them one by one. Don't do this on the live shop, because some plugins affect payments and shipping.
- Create a copy of the site (staging), as explained in the article on the child theme and testing on staging.
- On the copy, open Plugins and deactivate everything except WooCommerce.
- Open a product. If the editor works, activate the plugins one by one and check the product each time.
- When the editor breaks again, you have found the plugin to blame.
- If the editor does not work even with WooCommerce alone, try a default WordPress theme.
Alternatively, the official Health Check & Troubleshooting plugin from WordPress.org has a troubleshooting mode. It deactivates plugins and the theme only for your own session, while visitors see the site normally.
A setting for the admin scripts
WordPress joins the admin scripts into one file so that screens load faster. The WordPress documentation suggests turning this off when JavaScript is not working on an admin screen.
- Open cPanel > Files > File Manager and go to the site's folder. See the File Manager guide.
- Download a copy of
wp-config.phpbefore changing it. - Open
wp-config.phpwith Edit and add this line before the line/* That's all, stop editing! */:
define( 'CONCATENATE_SCRIPTS', false );
- Click Save Changes and open the product again.
If the editor works, you can leave the setting as it is. If nothing changes, delete the line.
How is it fixed for good
- Update WordPress, WooCommerce, the plugins and the theme. Conflicts of this kind are usually fixed by the plugin's author.
- Once you find which plugin is to blame, send its author the steps and the console message.
- Until a fix is released, carry on with the Code tab. It does not affect how products look on the site.
Frequently Asked Questions
Has the short description disappeared from my products?
No. The text is stored in the database and shows in the Code tab and on the product page of the site. Only the visual editor does not display it.
Why does the main description editor work but not the short one?
Each field has its own editor, which loads separately. A JavaScript error may stop only one of the two. The cause is tracked down the same way.
TinyMCE won't load after an update, should I roll the update back?
If you can work with the Code tab, there is no need. Old versions often have known security holes. If the problem gets in your way, roll back only the plugin to blame and wait for the fix.
The visual editor is not working on one computer only, what's wrong?
Then the cause is in the browser, not in the site. Check the browser's extensions and clear its cache, or try another browser.
The product edit screen is also very slow, is that related?
It may be. Many scripts in the admin area also weigh on speed. See the checks in the article on slow wp-admin.
Can Konet find which plugin is to blame?
The issue lies in the site's plugins, not in the hosting. See what hosting support covers. If you want us to look into it, open a ticket from the Client Area.