Tagged: avia layout builder
I have a text block with some HTML (divs, text and images), added through the Avia Layout Builder. After adding 4 images to the text block, I can’t edit that text block! The editor opens up, but instead of the HTML, I see “Click here to add your own text”. What can be done to fix this?
BTW, I can edit other text blocks…
I have the same issue
I think this is due to accidental un-closed HTML tags and/or attributes without closing quotes. What I did to fix was this:
1. Add the “debug mode” for the Avia Layout Builder by add this code to your functions.php:
//set builder mode to debug
add_action('avia_builder_mode', "builder_set_debug");
function builder_set_debug() {
return "debug";
}
2. When editing the page, now you’ll see a text area appear under the layout builder. Copy the contents to a text editor (copy twice – once for a backup) and fix the HTML errors. Copy and pasted the fixed code back into the text area under the layout builder and save. That should fix it.
Hey!
Thanks a lot for sharing a solution here, for the community!
We really appreciate it!
Cheers!
Basilis