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!
What is the purpose of the wb in HTML, etc...
- 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...
Mary
"It was always my belief that rock and roll belonged in the hands of the people, not rock stars" - Patti Smith
"It was always my belief that rock and roll belonged in the hands of the people, not rock stars" - Patti Smith
- BaconFries
-
- Posts: 5640
- Joined: Thu Aug 16, 2007 7:32 pm
Re: What is the purpose of the wb in HTML, etc...
From the sensei or senseis himself..
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.
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 softwarePablo 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.
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.
Re: What is the purpose of the wb in HTML, etc...
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.
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.
- 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...
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
"It was always my belief that rock and roll belonged in the hands of the people, not rock stars" - Patti Smith