[Mozile] Just the commands, please
Gary Wilhelm
gary_wilhelm at unc.edu
Fri Feb 9 18:06:07 PST 2007
I have an IE-only homegrown CMS that uses the "contentEditable" attribute and generates "crufty old HTML." I need to extend this CMS to add support for Firefox, and I didn't get anywhere with the classic Mozilla designMode stuff that's been around for a while.
What I'd like to be able to do is just pull the appropriate Javascript out of the Mozile 0.8 code so I can recreate stuff like the bold, italic, and underline commands on my own CMS's toolbar rather than using the one that's built in. From what I gather, all I have to do is to create a Javascript command so that it wraps selected text with the appropriate CSS or inserts XHTML in the appropriate spot, but I can't quite figure out how to do that from picking through the documentation. Any help would be appreciated.
Thanks,
Gary
--
Gary Wilhelm, MSIS
Applications Analyst
School of Law, UNC-Chapel Hill
5140 Van Hecke-Wettach Hall, CB 3380
Chapel Hill, NC 27599-3380
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/mozile/attachments/20070209/eb4152c0/attachment.html
More information about the Mozile
mailing list