Re: Emulating Bold Button Behaviour for H1

  •  08-23-2007, 12:08 PM

    Re: Emulating Bold Button Behaviour for H1

    Hi Adam,
     
    Thanks for the reply, this isn't quite what I'm after.  Ideally I'd like it to wrap only the selected text or nearest word with h1 tags, in the same way the Bold function does.  Also, it would seem using the formatblock command identifier is only one way, i.e. you can only apply the format, not reverse it.
     
    I'd really like to mimic the Bold button behavior 100% if possible, especially the way it can detect whether the highlighted text is bold already and change to a 'Bold Off' button.  Can it be done?
     
    Regards,
     
    Richard.
View Complete Thread