Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Coupe WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Comment corriger le texte blanc et les boutons manquants dans l’éditeur visuel de WordPress

Récemment, l’une de nos utilisatrices/utilisateurs a signalé un problème très étrange avec son installation. Lors de la rédaction d’une publication, ils ne pouvaient pas voir ce qu’ils écrivaient. En effet, le texte de l’éditeur de texte était blanc. Plus important encore, tous les boutons de l’éditeur visuel étaient manquants, et la possibilité de passer du visuel au HTML ne fonctionnait pas. Dans cet article, nous allons vous afficher comment corriger le problème du texte blanc et des boutons manquants dans l’éditeur visuel de WordPress.

Note pour les débutants : Si vous cherchez des boutons masqués que vous pourriez voir dans les captures d’écran d’autres sites, alors vous êtes probablement à la recherche de l’évier de cuisine. Vous devrez cliquer sur l’icône de l’évier pour voir ces autres options telles que Souligner, Copier depuis Word, etc.

Kitchen Sink

Certains sites utilisent également l’extension TinyMCE Advanced pour ajouter d’autres boutons qui ne sont pas présents par défaut.

Pour le reste d’entre vous qui avez vraiment un problème avec les boutons manquants ou le texte blanc dans l’éditeur/éditrices visuel, alors continuez avec ce tutoriel.

Vider le cache du navigateur

Lors de nos recherches, nous avons trouvé des utilisateurs/utilisatrices indiquant que la mise en cache du navigateur avait fonctionné pour eux. La première chose à faire est de vider la mise en cache du navigateur ou d’utiliser un autre navigateur. Il pourrait très bien s’agir d’un problème lié à votre ordinateur.

Si cela ne corrige pas votre problème, il se peut que le problème vienne de votre installation.

Remplacement des scripts TinyMCE

Peut-être que ce problème s’est produit après la mise à jour ? C’est peu probable, mais il se peut que quelque chose se soit mal passé lors de la mise à jour. Essayez de remplacer le dossier /wp-includes/js/tinymce/ par une nouvelle copie.

Corrigé avec wp-config

Si aucune des astuces ci-dessus n’a fonctionné pour vous, ouvrez votre fichier wp-config.php et ajoutez la ligne suivante tout en haut après l’identifiant d’ouverture php.

define('CONCATENATE_SCRIPTS', false);

Cette astuce a corrigé le problème pour nos utilisateurs/utilisatrices qui ont signalé ce problème. Nous espérons que l’une des solutions listées dans cet article corrigera votre problème de texte blanc et de boutons manquants dans l’éditeur visuel de WordPress. Si vous avez trouvé un autre correctif qui a fonctionné pour vous, alors veuillez le partager dans les commentaires.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, nous pouvons gagner une commission. Consultez comment WPBeginner est financé, pourquoi cela compte et comment vous pouvez nous soutenir. Voici notre processus éditorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

L'ultime WordPress Toolkit

Accédez GRATUITEMENT à notre boîte à outils - une collection de produits et de ressources liés à WordPress que tous les professionnels devraient avoir !

Reader Interactions

247 commentairesLaisser une réponse

  1. Marco

    Hello, I solved so:

    1) Go to the direcetory « /public_html/wp-includes/js » in your site

    2) DELETE the folder « tinymce »

    3) Enter Wordpress dashbord and in top left corner UPDATE and REINSTALL the current version

    I hope this can help you, Marco

    • Gugu

      Marco, thank you soooo much for this! Yours is the only hack that worked after I had tried almost all the suggested solutions floating around on various help pages. I’d even inspected my code and what not, with no luck but deleting the tinymce folder and re-instaling Wordpress DID IT!

      Thanks again!

  2. Shivam

    Spent 1.30 hour with the customer support agent, before he gave up and suggested me for a ticket. Then I came across your site. Making changes to wp-config worked. Thanks a lot mate.

  3. Anil Jadhav

    Thanks you – define(‘CONCATENATE_SCRIPTS’, false); Works for me as well.

    Thanks a lot.

  4. aziz tnani

    that define(‘CONCATENATE_SCRIPTS’, false); did the trick
    thanks for that

  5. amr

    Thanks
    the wp-config define(‘CONCATENATE_SCRIPTS’, false); fixed it

  6. Cédric Converset

    Worked for me modifying the wp-config.php file. Thanks.

  7. vqoley

    Thanks sir. you save my life

  8. Paul Livett

    Every method tried nothing worked.. until I found the “.htaccess” file in my main website folder
    not in the wp-includes folder and I deleted it. Not sure how it got there and it had been there a year but boom!, finally it worked.

  9. Magda

    NOTHING worked for me, so I decided to edit the editor css, which was stupid but I was desperate (and tired). When I was checking the path to css folder I realized it was in the theme of mine (custooooom). HOW SO? It appeared that it was coded in sass file of base theme I usually work with.
    So, check as well if something isn’t wrong with your theme. For not experienced: right-click on the editor and « inspect element ». If css shows that the font color for the editor is #fff, hover cusor over css path and you will see the whole path to where it’s stated (chrome). Check if it’s not the theme issue.
    good luck and thanks WP beginner you usually help me the most :)

  10. cdobson

    The added to my wp-config.php file did the trick for me as well! Thanks for the help! Much appreciated.

  11. lone survivor

    Thank you very much. You have saved my day!

  12. Carl Glancey

    I’ve tried every suggestion on here but still only on my front page does the text appear white. Every other page and post is fine. So frustrating!

  13. Prakash Vorkady

    Fix with wp-config worked for me, thanks for the article!!

  14. Charlie Tobler

    Sweet! Was having the exact issue mentioned in this article. I tried the first two solutions without success, but the wp-config edit did the trick! I am using Newspaper theme, and for some reason it seems to be causing it, but good to know there is a fix.

    Thanks for the help!

    Charlie

  15. grace

    Fix with wp-config worked for me, thanks for the article!!

  16. Andrew Macia

    What a freaking nightmare, thank god I found this post. I was finally able to fix this by updating the wp-config file. Thank you!

  17. Terence

    Thanks for the post! This was driving me mad, but finally fixed it with the wp-config.php edit :D

  18. John

    Thanks for the help. I just edited the wp-config.php with it. My problem wasn’t the same my whole editor was missing but did the trick none the less. Cheers.

  19. Deepak

    HI,

    All of the solutions listed above, did not work for me. When I add this code, the Add New page in Admin does not load either define(‘CONCATENATE_SCRIPTS’, false ); What should i do

  20. Princess Kaurvaki

    Thank you for sharing this solution. Unfortuntely, all the above methods didn’t work for me. I’ve tried disable one by one plugin and finally find the problem from one installed plugin

  21. Dinnae Galloway

    My issue is that it is only doing it for editor accounts, but my admin account is just fine. UGH. Will try the wpconfig suggestion, but if it’s working for admin, I hesitate to make changes…. Will update when I find a solution. Thanks wpbeginner, you guys rock. :)

  22. Pop

    I’d tried it on 3 different browsers, but all my buttons had gone and all text was white.

    define(‘CONCATENATE_SCRIPTS’, false); worked for me.

    Thanks a million.

    • finn schjøtt

      Well, that worked for mee too.

      However it only fixed TextMode.
      I’m still served with white text on white background in visual mode, – and absolutely no buttons.
      Everything worked just fine yesterday, – only change is upgrade WP from 4.3 to 4.4.

      I have updated the whole tinymce-folder – no change.
      I have installed tinymce-advanced plugin – went smoothly, but no change.

      I’m in really trouble, as I need the visual editing

  23. rudi

    thanks bro! now its show up and i can start freakin post’in :D

  24. Paul

    While setting up a website encountered this problem of the Visual Editor / WYSIWYG / TinyMCE not showing text (white text), not showing the editor buttons and text mode disabled…

    In my case, the constant define(‘CONCATENATE_SCRIPTS’, false) in the wp-config circumvented the problem but the culprit was in fact an .htaccess in wp-includes directory. I had put it there myself to prevent code execution but some security/firewall plugin might also create it…
    After its removal the constant define is no longer needed nor recommended, it isn’t a long term solution and should only be used for debugging.

    • Daniel

      Gosh Paul, you saved my life. I had accidently uploaded my htaccess to wp-includes a week ago and was facepalming ever since, trying to get my bizerk website to work.

      Thanks for mentioning that. I deleted it and now everything is back to normal.

    • ese

      indeed!!! thanks so much…. now the question is, how on earth did that htaccess get to that folder??

    • Mauricio

      Yup, nothing worked until I removed the « .htaccess » file from the « wp-includes » folder. Yes that worked, now hoping I didn’t break anything else doing that!

      • Jamie

        Mauricio-
        Thank you a thousand times. I knew when I started I was having an .htaccess problem but its been a minute since I’ve had any issues, that I forgot the reasons behind it. I removed the “.htaccess” file from the “wp-includes” folder. I didn’t break anything else in the process and the problem was solved. Super fast, super simple. Thank you.

    • Peter

      That worked for me. If I had any hair I would have been tearing it out, but it was the htaccess issue. Bug? Hack?

    • Mandeep Sidhu

      Removing « .htaccess » from « wp-includes » woked for me. I did nothing else. Thanks Paul.

  25. Don Niam

    I tried adding the code and it did not work. I added tiny mice plugin but no help there. I re-installed wordpress and no help. Uploaded a new tiny mice folder and no help.
    If any new fixes have been found please let me know.
    My problem still exists

  26. Alex Wivell

    I can’t thank you enough for the define(‘CONCATENATE_SCRIPTS’, false ); solution.

    I had been having issues with Visual-Composer on a site for a while. I had found a get around of turning off a couple of translator plugins but they were paid translator plugin so couldn’t ditch it.

    I then updated WPJob Board plugin and all CV’s from the site disappeared. I tried the code you suggested not expecting it to work for the CV’s but it did. So grateful.

  27. Tejinder

    Thanks a lot

    define(‘CONCATENATE_SCRIPTS’, false);

    this thing had fixed my problem, please let me know, what is the purpose of the code, what does it do actually….

  28. Sally Minker

    I tried everything, including disabling all the plugins and replacing the TinyMCE folder, but nothing worked until I added

    define(‘CONCATENATE_SCRIPTS’, false);

    What will happen when WordPress gets updated? Does the wp-config.php file get updated when WordPress updates? If so, won’t this fix get wiped out?

  29. Bogdan

    Thanks a million, adding the « define(‘CONCATENATE_SCRIPTS’, false); » worked and the problem is fixed.
    Much appreciated for your help and support

  30. Bart

    Thanks a lot! The defne concatenate scripts tip was the first thing I tried and it worked right away. Now I can go on and make the changes I want tot my site again :-)

    Again, many thanks!!

    Bart

  31. Aatu Komsi

    I had the same problem, but none of the solutions mentioned worked for me.

    Then by disabling all the plugins one by one I found out the problem was with the Visual Editor Custom Buttons plugin , or, to be exact, me transferring a copy of database to another site through Wordpress Importer’s XML file.

    The process duplicated all the custom buttons I’ve made but kept their original headings. Apparently having several identical button data caused a conflict to the plugin.

    After I deleted extra copies of button settings the visual editor rows returned back right away.

  32. noha

    really that’s right, wooooooow worked finally i can see and edit text

  33. Gg

    Well I am having this same problem and when I tried to change the behave of tinymce I got a message of something to be marked as removed already removed as a error message in my WP and suddenly chage the screen. After try everything imaginalbe, even the ‘Concatenate…’ I could not fix it! So I read about other options and someone that got fixed by it on the WP forums so I tryed to install CKEditor for WP (plugin) and I got a new editor.. well now is CKEditor but I have again a editor. I could figure out what is the problem and why some mesage when trying to disable the tinymce bubling,,, well thanks.

  34. Jennifer Camp

    Awesome fixed all of my admin area accordion type selections and fixed the problem I had with Visual Composer not working. Bookmarking your page! Thanks a bunch.

  35. Gautam Singh

    I used that code in wp-config.php .it’s working perfectly.

    Use this line to on the top of page:-

    define(‘CONCATENATE_SCRIPTS’, false);

  36. Dimitriy

    Thanks very much! Very helpful. The thing with wp-config.php file worked fine.

    • Mr. Spookee

      Yes, that worked for me too! Thank you guys, you’re awesome!

  37. Deana

    the last time I posted a blog I followed the yoast S.E.O and put some outbound links to another web sites that related to this post.
    This time I have written a post and I cannot find anywhere, where the outbound box is to be able to type in my outbound link.
    Can you help me and tell me where I can find it?

  38. Courtney

    So, can anyone tell me HOW to do these things? Where do I access the wp-config.php file? Or else, how do I replace the /wp-includes/js/tinymce/ folder with a fresh copy?

  39. David Mag

    wp-config step worked! Thanks so much, this was a tricky one

  40. j hartig

    Thanks Again! I use the same theme and plugins across several sites, and yet I only have problems with one site. I think some of it is the host, but difficult to confirm this.

    The only thing that worked for me was adding the script in wp-config, though can’t understand why this would be needed since it isn’t for the other sites?

    Thanks Again – this site is a life saver.

  41. Muffy

    The wp-config.php editing worked for me, too! Nice solution! Tks!

  42. Simon

    Changing the wp-config file worked, brilliant, has taken me ages to get this far. Thanks for your help.

  43. Mohammed

    Hi…

    After adding: define(‘CONCATENATE_SCRIPTS’, false);, I get a new error in the tags, which make the tag is bad, like: if i will add (wp) as tag i will get: wundefinedp

  44. johnf

    Fix with wp-config – adding the ‘CONCATENATE_SCRIPTS’ line worked like a charm – i can see text now. THANK YOU!

  45. kaveh

    thank you so much u just saved my life.
    the Note for Beginners had been solved my problem. :D

  46. Hagler

    The tricks above are not able to solve my problem. Uploads, insert media, screen options, help and theme customization not working, instead, it gives me /wp-admin/#screen-options-wrap in the URL.

  47. Adam

    Adding the ‘CONCATENATE_SCRIPTS’ line worked great for me. Just to clarify the issue though, for me all uses with the role ‘Administrator’ were fine, but everything else could not interact with the edit box without getting the white text and unresponsive buttons. Thanks for the help!

  48. Ariane

    After working on the theme, I suddenly had the same pb, I tried the different methods above and from the comments, nothing was working. Finally, I told myself that it must have something to do with one of my new plugins, but I have a lot of plugin and I didn’t wanted to desactivate all of them !

    So I first tried with the recently uploaded ones, and it turns out that the plugin Simple Ads Manager is the guilty one ! (So bad, I really needed this one…) Hope that helps !

    (Sorry for my english, i’m french ;) )

Laisser une réponse

Merci d'avoir choisi de laisser un commentaire. Veuillez garder à l'esprit que tous les commentaires sont modérés selon notre politique de commentaires, et votre adresse e-mail ne sera PAS publiée. Veuillez NE PAS utiliser de mots-clés dans le champ du nom. Ayons une conversation personnelle et significative.