excuse my bad english im french
When using text box and editing text it ads more and more line breaks <p> </p> on several places.
I use the html mode to delete the line breaks. But I have to do this every time I update a text because the line breaks are filled in automatically on opening.
What must i do?
Thank you
Laurent
Hi Laurent!
Are you using the latest version of Enfold?
Best regards,
Josue
there is a response of Ismael for the same problem :
Edit textblock.php again, remove everything then replace it with this: http://pastebin.com/vdLN1kvi
but the code in pastebin is removed
What must i do??
Hi!
Did you try to use the new “Code Block” element instead of the “Textblock”? If you can’t find it on the template builder page please update your theme to version 2.7.1 and then it should pop up. The code block does not process the input and it also won’t add p tags to the code.
Cheers!
Peter
Thank you
yes i try block code but i prefer visual
is there is a solution?
Hi!
No, unfortunately the “Visual” editor adds some tags to the text/code and we can’t deactivate these tags because it’s a standard wordpress behavior. You can use the code block or a plugin like: https://wordpress.org/plugins/insert-html-snippet/ to insert raw html code.
Regards,
Peter