Link to a page where the issue can be seen: hidden link
I expected to see: fields should be saved correctly in backend when toggling visual / text mode
Instead, I got: especially <p> and <br> tags get often lost when toggling visual / text mode. and this not only on the record (post) that we are currently editing, but on the same WYSIYWYG field of ALL records (posts) of this custom post type
Hello. Thank you for contacting the Toolset support.
Recently we released the Toolset hot fix version that has few fixes related to wysiwyg field but the issue you are described maybe due to conflict with another plugin or theme or could be another one.
In addition to that - we do not recommend the debug the issue on production sites as it may cause side effect. Here I'm sharing the sandbox site and you can auto-login to it using the following link:
- hidden link
Can you please setup a test case where I can see the issue?
sandbox working now, thanks. I made a test with the field "Description" on speaker page "Chad Price". I noticed that space lines in visual mode are set as " " in text mode. And if I add <p></p> and <br> tags in text mode, they are instantly removed when I switch to visual mode again. Is that the expected behaviour? It seems that the block that I use on my website to display the WYSIWYG field on the template (from ThePlusBlocks) does not use the " " code but uses <p></p> and <br> tags for space lines. What do you suggest?
when we enter br tags in text mode, could they please remain and not be removed or replaced with "& n b s p ;" when switching to visual mode? even better: could you use br tags for space lines entered in visual mode instead of "& n b s p ;"?