I created a content template for books using Toolset Blocks. I see that the post content output doesn't have any breaks between paragraphs. For example:
I have seen in the old editor a place to pick manual paragraphs or auto paragraphs, but there isn't anything like that that I can find the block editor. I have use both classic and blocks in the settings and it is possible I checked manual paragraphs when starting out before going into the block editor, but now there is no way to get back to the classic interface ... if that is the issue.
Thank you for taking a look and for the further information. I'll go ahead and finish up my templates but could you please explain the paragraph thing a bit?
- When I use the old classic Toolset Editor for the content template the paragraph breaks show up. I confirmed this by switching that book back to the Book Single template that was created back in 2017. Attached are some screenshots of that.
- When I don't use any content template (just the theme) the paragraph breaks show up. I don't believe there is a theme setting on whether to add manual paragraphs or not. I think this is the way it just works on all themes.
- Are you saying that if I used the block editor for the content that the content would show the paragraph breaks in Toolset Blocks?
- Or is this a quirk of the Toolset implementation of the Content field in the blocks editor?
- Or something else?
If this is related to the option in the old classic content template editor to use manual paragraphs or auto paragraphs then perhaps that is a feature / checkbox option that could be added to the blocks version?
Thank you also for the suggestion regarding the using conditionals to display the fields for the audiobook tour records. It is a good idea, but in this case there are a lot of fields and the content template for the audiobook tour doesn't have a sidebar ... so it doesn't seem like an easy solution. I'd like to suggest it as a feature please. Beaver Themer and Elementor Pro have the option to assign a template to a content type + a category or tag.
Thank you for your patience. I am drilling down on the issue because I know that the block feature is new and I want to make sure I understand it and if there are any issues with it that we identify those so they can be addressed.
So I have been able to recreate and trace the problem.
When you first create a content template with the Toolset settings for both / either classic or block editor you have the option for manual paragraphs or auto paragraphs. See screenshot. As I mentioned in my original post, I thought I might have picked manual paragraphs when I created the content template the first time.
So I just created a test content template and chose auto insert paragraphs and the paragraph spacing is shown on the front correctly. See screenshots.
Once you create a content template in Toolset Blocks you cannot change that setting. I think there should be a way to access that setting again if needed. I will recreate my content template with the auto insert paragraph setting to fix my issue, but I suggest it would be good to have this addressed for the next person / next time.
I've heard back from the development team and at the moment the single field block's post content body feature is designed to be used with the content that is generated using the Blocks editor, which saves the paragraph tags as part of the content in the database.
For displaying the content that is generated through the classic editor and doesn't include paragraph tags, it is best to use the shortcode [wpv-post-body view_template="None"], which will automatically apply them.
There is a lot of content created with the classic editor and I'm not sure that supporting old content is a "feature". It is good there is a work-around. Thank you for letting me know. I'm trying to move away from shortcodes so will have to think about what I want to do going forward.