Grey background in tinymce wp_editor function

I faced a weird issue when adding wp_editor to a metabox in post. The visual mode was showing a weird grey background and there is no way you can overwrite using a css directly.

After some research i figured out that adding a admin css with code

and

The admin.css should be in the root of the theme. The above code fixed the issue easily.

Leave a Comment