What is the purpose of the wb in HTML, etc...

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
Mary Abigail
 
 
Posts: 157
Joined: Thu Jul 08, 2021 9:46 pm
Location: Lisbon, Portugal

What is the purpose of the wb in HTML, etc...

Post by Mary Abigail »

Hi

just wondering... could someone tell me what's the purpose of the wb on the html code of each WWB object, like layout grids, buttons, css classes, etc?

Let me show an example... if i want to edit the code later or pass the code to another coworker for instance... does he/she have to put the wb on each WWB object? or will it stop working? there should be an option in WWB to remove that part of the code i suppose or am i wrong? please clarify me :)

thanks in advance!
Mary

"It was always my belief that rock and roll belonged in the hands of the people, not rock stars" - Patti Smith
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: What is the purpose of the wb in HTML, etc...

Post by BaconFries »

From the sensei or senseis himself..
Pablo wrote: Fri Oct 06, 2023 11:16 am No, it is not possible to change the wb_prefix.
The prefix is used to identify div wrappers which control the positioning and sizing behavior of elements.
Not only is this used internally, but also by (third party) extensions. So, changing the prefix could break the functionality of scripts and CSS.
To answer from myself there is no option to remove and why would you want to. Please note WB is not a HTML Editor it is a HTML Generator this means no code exists till you publish. And any code changes made manually externally in the HTML will get overwritten if opened again in the software
making it pointless to do so unless you never plan to open again in the software. Another issue is making changes can break the layout structure of the html example of this marking changes to the likes of images there position may move or text may move over other text if extra lines are added. So generally all changes should be made in the software to ensure nothing breaks.
User avatar
crispy68
 
 
Posts: 2912
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: What is the purpose of the wb in HTML, etc...

Post by crispy68 »

Many times the wb prefix is added when there is an additional container/div needed/added for particular objects.

I know Pablo can weigh in on this in more detail but you can't remove it as it is needed to make the code work.
User avatar
Mary Abigail
 
 
Posts: 157
Joined: Thu Jul 08, 2021 9:46 pm
Location: Lisbon, Portugal

Re: What is the purpose of the wb in HTML, etc...

Post by Mary Abigail »

I got it! thanks!
Mary

"It was always my belief that rock and roll belonged in the hands of the people, not rock stars" - Patti Smith
Post Reply