Re: how to customize buttons

Christian Stocker <[email protected]> Tue, 14 Dec 2004 23:17:24 +0100
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>

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
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users