How to configure the HTML toolbar buttons?

General and specific configuration/INI settings

How to configure the HTML toolbar buttons?

Postby Will » Fri Feb 18, 2005 12:57 pm

The Bold button on the HTML toolbar produces <b></b>

How do I change it so that it produces <strong></strong> instead?

Presumably, there's a way to do this for all of the HTML buttons?

Thanks
User avatar
Will
Newbie
 
Posts: 1
Joined: Fri Oct 15, 2004 11:00 pm

Re: How to configure the HTML toolbar buttons?

Postby hamilton » Mon May 23, 2005 8:42 pm

I'm looking for the same thing as Will. I'd like to be able to reconfigure the HTML toolbar so I get <strong></strong> and <em></em> instead of <b></b> and <i></i>. It would also be nice if I could add my own HTML code snippets to the HTML toolbar. Is there anyway to do this?

Thanks, Scott
User avatar
hamilton
Basic User
Basic User
 
Posts: 10
Joined: Wed Jul 27, 2005 11:00 pm

Re: How to configure the HTML toolbar buttons?

Postby mary.vivit » Tue May 24, 2005 11:45 am

I can help you with adding the snippets, sfordin.

  1. Create a User Template with the snippet you want to reuse. Make a note of the number of your User Template.
  2. Right-click the HTML toolbar and select Customize Toolbar...
  3. Find the HTML ToolBar in the left pane, and select the item you want your snippet to follow (you can move them around, so this isn't too critical right now).
  4. Scroll through the Commands in the right pane, and select the User Template you want to insert in the HTML ToolBar.
  5. Click the left arrow between the panes to add the command.
  6. Double-click the name in the left pane, and replace it with your own. You can also assign your own bitmap image to accompany it.
Alternatively, you can simply create the template (snippet) and display the Template List. I agree wholeheartedly about changing the bold and italic button code, but I may just create my own.
User avatar
mary.vivit
Basic User
Basic User
 
Posts: 35
Joined: Tue Nov 23, 2004 12:00 am

Re: How to configure the HTML toolbar buttons?

Postby hamilton » Tue May 24, 2005 9:37 pm

Thanks very much for the quick reply, Mary. It's a roundabout way, but it works! The only downside, IMO, is that it uses up some of the finite number of templates, rather than allowing you to modify the toolbar functions directly. For example, I'm also going to modify the ordered and unordered list buttons so the <ul> and <ol> buttons insert linebreaks and indents before the <li> tags. Still, it's good to at least be able to do it one way or another.

I followed your recommendation, and created templates for <strong> and <em>, using the [$replace$] token to enable wrapping of the selected text; for example: <strong>[$replace$]</strong>
I couldn't locate the B and I icons used by UltraEdit, so I did a screen capture of the HTML toolbar, sliced out the B and I icons, and saved them as bitmaps, which I then pointed to in the Customize Toolbar dialog.

Thanks very much again for your helpful response.

Regards, Scott
User avatar
hamilton
Basic User
Basic User
 
Posts: 10
Joined: Wed Jul 27, 2005 11:00 pm

Re: How to configure the HTML toolbar buttons?

Postby gary_johnson_53 » Tue Feb 07, 2006 3:50 pm

I am trying to change the button toolbar to insert this. But I only get up to the end of ....Ngrey"

Is there any way to increase the size the text associated with the button?

Code: Select all
<input   type="button" tabindex="2" id="xzCC" title="yyyy" class="buttonNgrey"
      value="yyyy"
      onmouseover="toggleHighLight('m', this.id);"
      onfocus="toggleHighLight('f', this.id);"   
      onblur="toggleHighLight('o', this.id);"   
      onClick="|"
      onmouseout="toggleHighLight('o', this.id);">
User avatar
gary_johnson_53
Newbie
 
Posts: 9
Joined: Sat Mar 12, 2005 12:00 am

Re: How To Configure the HTML Toolbar Buttons in v11?

Postby Mofi » Tue Feb 07, 2006 5:02 pm

Is this a multi-line string? This will not work! Maybe with \n as placeholder for CRLF. But I have never tried it for the html button commands.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4051
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: How to configure the HTML toolbar buttons?

Postby gary_johnson_53 » Wed Feb 08, 2006 2:41 am

Thanks
this worked

- one line - no tabs - \n instead of crlf


this gets me what I want.

<input type="button" tabindex="2" id="xzCC" title="screen sizes" class="buttonNgrey" value="Show Me Screen Sizes"\nonmouseover="toggleHighLight('m', this.id);"\nonfocus="toggleHighLight('f', this.id);"\nonblur="toggleHighLight('o', this.id);"\nonClick="|"\nonmouseout="toggleHighLight('o', this.id);">\n
User avatar
gary_johnson_53
Newbie
 
Posts: 9
Joined: Sat Mar 12, 2005 12:00 am


Return to Configuration/INI Settings

cron