I am trying to:
What I’m trying to get is a tight layout of 4 <div> blocks that touch in the corners and have no gap between them.
Link to a page where the issue can be seen: hidden link
Also see my explainer here: hidden link
I expected to see:
No gaps.
Instead, I got:
Gaps formed by a rogue <p></p> tag that is being inserted somehow. I've turned off automatic paragraphs in Layouts. I've also scanned my functions.php file to see if something there might be inserting <p> tags, but I didn't see anything.
Hello. Thank you for contacting the Toolset support.
Can you please tell me how you are trying to edit Layout and save it.
- Do you edit the Layout from Frontend and saving it?
- Do you edit and save the Layout from backend?
- Is this Layout is content Layout to display specific page/post?
Thanks for your reply. To answer your question, I am editing the Layout on the backend. The Layout is specific to each page, using your Layouts plugin. (I know it's better practice now to use Gutenberg for Page layouts, but I'm still working the old way for this one).
ok - this is known the issue. We already have an internal ticket where this issue is reported. I will add your voice to that ticket and get in touch with you as soon as I know more.
Minesh is on vacation, I will take care this ticket.
I have checked it in our to-do list, it is in "Escalated to developers" status, our developers are working on it, but I am not sure when will it be fixed.
Currently, I suggest you try these:
create another visual editor cell to replace the content template cell, in the new "a visual editor cell", enable below options:
- Disable automatic paragraphs
- Disable the_content filter
See screenshot: visual-editor-cell.JPG
Thanks for your reply. Do I need to create a *new* visual editor cell, or can I just enable those options in my existing visual editor cells? I've ticked the boxes you suggested — see attached.
For the moment, things look good, but issue comes up, then disappears — I can't make sense of it.
I hope your developers can get the issue fixed with time.
Hi there. I don't know if this is related, but sometimes paragraph breaks are missing from where I *do* want them at the same time I'm seeing the unwanted paragraphs mentioned above.
For example on this page: hidden link
… at the bottom are two images of people (attached). In the text below their pictures, a paragraph break should should be there is missing. When I look in the editor, the markup is correct. See other attached pics.
I realised I've check 'disable automatic paragraphs' and 'disable the_content filter' in my visual editor box, but Toolset is acting really erratically where I can't tell if these settings are having an effect or on. Sometimes after I save a Layout and go view it in a browser, it looks fine. When I come back to it, it looks bad.
Not sure what's going on.
Thanks! Russell
New threads created by Luo Yang and linked to this one are listed below:
Do I need to create a *new* visual editor cell, or can I just enable those options in my existing visual editor cells?
You can try both, just need to use a visual editor cell to replace the content template cell, and enable those two options in visual editor cell.