Skip Navigation

[Closed] WYSIWYG content lost when CPT has multiple classic

This support ticket is created 3 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Jamal 3 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#2237223

I am trying to: save multiple WYSIWYG fields (classic editor) when updating a CPT.

Link to a page where the issue can be seen: See this issue discussion https://toolset.com/errata/content-of-wysiwyg-field-lost-when-updating-posts/

You can see a video recording I made in action here: hidden link

I expected to see: all content saved

Instead, I got: second field (wysiwyg classic editor) is empty

I tried switching to "text" before saving. That does actually work, but it doesn't display in the front-end (view)

#2237225

I tried to check if views can see the data but with both conditionals below, it evaluated to empty

[wpv-if short-desc="wpcf-date-time-and-location" evaluate="!empty($short-desc)"]field has some values[/wpv-if]
[wpv-conditional if="( $(wpcf-date-time-and-location) ne '' )"]field has some value[/wpv-conditional]

#2237237

I tried saving as text. This worked. Then I switched to visual (classic editor). The content was being saved as well.

It still doesn't appear on the front-end in the view though. I have tried all of these:

[types field='date-time-and-location'][/types]
[types field='date-time-and-location' output='raw' suppress_filters='true'][/types]
[types field='date-time-and-location' suppress_filters='true'][/types]

#2237451

Hello and thank you for contacting the Toolset support.

Have you enabled the editor option for the custom post type as suggested in the errata?

If yes, would it be possible to take a copy of your website for further debugging? I'll set your next reply to be private to share credentials for your website safely. ** Make a database backup before sharing credentials. **
I'll log in and take the copy using the Duplicator or the All In One Migration plugin.

The topic ‘[Closed] WYSIWYG content lost when CPT has multiple classic’ is closed to new replies.