WeBuilder 2011 v11.0 (11.0.0.126)
Is there any way to modify the actions of toolbar buttons?
As a simple example, on the HTML bar, to change <BR> to <BR /> ?
Modifying toolbar button behaviour
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Re: Modifying toolbar button behaviour
This depends on document doctype. If you have HTML4 document then you'll get <br> instead of <br />. If you don't edit html file with doctype specified then you can set the default doctype in Preferences (Language Options > HTML).
Blumentals Software Programmer
Re: Modifying toolbar button behaviour
Thank you for that info! I've owned WeBuilder for several years but (evidently) still haven't discovered all there is to it...
I appreciate the info about the doctypes (and your quick response!), and will follow your advice.
However, my question was "Is there any way to modify the actions of toolbar buttons?"
It's the customisation aspect I'm really interested in. '<br>' was just a very simple instance.
I appreciate the info about the doctypes (and your quick response!), and will follow your advice.
However, my question was "Is there any way to modify the actions of toolbar buttons?"
It's the customisation aspect I'm really interested in. '<br>' was just a very simple instance.
Re: Modifying toolbar button behaviour
If by that you mean making toolbar buttons to do something entirely different than they were intended to, then the answer is no, it can't be done. Maybe what you're actually looking for is Library tab (View > Library) for inserting any code snippets you like, and use that instead of toolbar.
Blumentals Software Programmer
Re: Modifying toolbar button behaviour
Hello again Aivars,
As you say, that is what I meant, and thank you for assuring me it can't be done.
I am aware of the library customisation, being currently in the process of organising my own frequently-used code snips.
Thanks again for the prompt replies!
As you say, that is what I meant, and thank you for assuring me it can't be done.
I am aware of the library customisation, being currently in the process of organising my own frequently-used code snips.
Thanks again for the prompt replies!