Re: how to customize buttons

LiuCougar <[email protected]> Tue, 14 Dec 2004 22:56:08 +0000
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
Thanks. However I only want to add another function to deal with my
special needs, so that I do not have to change existing functions.

Anyway, looking forward to longer explanation.

Regards,
Cougar


On Tue, 14 Dec 2004 23:17:24 +0100, Christian Stocker <[email protected]> wrote:
> 
> 
> On 14.12.2004 23:04 Uhr, LiuCougar wrote:
> > Hi,
> > I want to change the behavior of some buttons: say the UnorderedList button:
> > now when I click it, it will insert something like:
> > <a0:ul xmlns:a0="http://www.w3.org/1999/xhtml"><a0:li ...
> > (http://scim-im.org/bxe/examples/inline/)
> >
> > I want it insert <ul><li>...
> > How can I achieve this please?
> 
> Short answer: In mozile/eDOMXHTML.js the listLinesToggle function. you
> should especially change the call to "documentCreateXHTMLElement"
> something like document.createElement()
> 
> Long answer about buttons and changing them: hoepfully tomorrow
> 
> chregu
> >
> > Regards,
> >
> 
> --
> christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
> phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
> http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB
> 


-- 
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users