Avoid spaghetti code
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Avoid spaghetti code
Hello, is there any way that wysiwig web builder does not generate unnecessary code (or spaghetti code) when constructing the final code?, For a simple DIV with a text inside it generates two additional DIVs without need, it can be configured so that it does not ?.Thank you
Re: Avoid spaghetti code
The final code depends on al lot of setttings. For example, is the text absolute positioned or is it part of a layout grid or flex container. But also the formatting options in Tools -> Options -> HTML do affect the final code.
In generally, absolute positions generate more code because an extra div is needed to control the size and position of the object.
However, by default a text object only generates 1 div (for position and size).
Also, a text object with response fonts enabled generates less code because the entire object has the same font.
In generally, absolute positions generate more code because an extra div is needed to control the size and position of the object.
However, by default a text object only generates 1 div (for position and size).
Also, a text object with response fonts enabled generates less code because the entire object has the same font.