I'm using several WYSIWYG fields. The Visual tab works fine: I can enter texts, bullet lists, etc. and save it. However, the Text tab is always completely blank. Shouldn't I see the HTML there?
Can you please share some screenshots of the issue and the code that creates the custom fields on your site? I do not see that issue on my end.
Here's the screenshot: https://monosnap.com/file/f9PG6mqaFctX0prp6IawaOa0DCvNXX
All fields are created with the UI, not with code. I have the issue with all WYSIWYG fields.
If this is not enough information I can e-mail you a login to a copy of the site.
It looks like the editor itself is standard WordPress. I found it is used in other plugins as well, e.g. Code Snippets. There, the Visual and Text tabs both work fine.
Please share your site credentials via the contact form https://metabox.io/contact/
I will take a closer look.
Ok, please find the login your e-mail.
If you go to the homepage, edit it, and open the Content summary, you can see the problem. This is just an example, it happens for all Meta Box fields.
But if you go to Code Snippets, open any script, and scroll down to the Description, you'll find the same editor without this issue.
What do you think the problem is?
There was a conflicting issue with another plugin, resolve this by using custom CSS code in the admin area.
visibility: visible !important;
I am having the same issue.
Thanks for the answer, but I am unclear as to where to add this css. Admin area? of?
I'm using the Code Snippets plugin. I added a CSS snippet and set it to "Administration area styles". There are other ways to do it too.
Are you also using WPML or Fluent Forms by any chance? For a moment I thought they caused this, but it's really hard to find the actual cause, so I gave up and am using the work around.
Thank you Arno.
I'm not running either of them thankfully. I deactivated every single plugin I have except Metabox and the problem still persisted.
Does adding the css to code snippets plugin require the pro version? I'd rather upgrade to the pro version that add yet another plugin.
Thanks a million for your help.
I think it requires Pro. I have the Pro version as well.
You may also want to try to switch your theme to a default WP theme. If the problem still persists, you have a good case for Meta Box support to look into.
Thanks Arno. Very much appreciated.
So the solution for me ended up not needing the code snippets pro plugin or to add any .css.
It was quite a simple fix actually. My id field looked like this: faq:_answer, which was from my label being FAQ: Answer. Apparently, the colon and the underscore causes an issue like this. I changed the id to faqanswer. No special characters and no spaces and it's fixed! Hope this helps someone else out there!
Thanks for sharing that Pat.
Question to Meta Box support: does the above info perhaps help you to solve this? I only use underscores as a "special" character in field IDs. I assume that's not causing this as it's common practise.