I am trying to:
Create a content template using Views and the Block editor. It is not outputting my custom Types WYSIWYG field with correct format using a Toolset Single Field block. Using updated Toolset plugins (Views 3.0.2, Types 3.3.8)
Link to a page where the issue can be seen:
Sorry it's local, but I include images of the inspector in Safari on OS X showing the problem area and my content template (annotated with the problems).
I expected to see:
properly formatted WYSIWYG field (as displayed correctly in the template editor
Instead, I got:
No formatting (missing <p> tags) - unless curiously a second duplicate toolset single field block is placed before!!?? (see first image below - second instance of field parsed correctly)
I've found more problems. I'm using the recommended GeneratePress theme (premium), and the post excerpt is showing properly in the toolset content template editor but renders with some garbage characters pre-pended to the field. (see screen grab attached)
This is using either a Single Field block, a Field and Text block or a shortcode block.
If I try changing the style on the block (for example set margin= 0 or padding =0, it adds even more garbage to the front.
Yes, I have just noticed that selecting a checkbox in my search area to narrow the search down fixes the problem. It only appears when the entire results are first displayed. I'll experiment a bit more with my search area and let you know, It is very puzzling.
I'm trying to build a new view using the Block editor on a page and when I put the excerpt on that with a Single field block, trying to select the word or character limit, it shows the whole excerpt? No ellipsis or read more...
This is when I am using the 'Table' option for the view.
I thought I would try this to see if I could get rid of the garbage characters in my view reported above for the excerpt. The garbage disappeared but now the excerpt does not truncate.
The block editor is not rendering the truncated excerpt either. So it is a more obvious bug.
Ok, NOW I think I've found an issue with my excerpt. I have put a shortcode in my excerpt, [types field='dir_item_description'][/types] which in an earlier version of Views, did not have a problem truncating and rendering with an ellipsis and read more and no garbage characters.
I'm thinking that this version is having trouble parsing a shortcode in the excerpt? (I pass in the content from a custom field to the excerpt in order to make use of it's marvelous truncation abilities...)
I worked around the problem of having a short code in the excerpt: I created a shortcode to limit the length of the custom field I wanted to truncate. Then used a shortcode block and everything worked fine.
Thanks for your help. I have another issue now with applying a bootstrap css class to my view table (not working) but I'll start a new ticket.