Hi people, I've just finished a turbogears widgets egg which packages the tinyMCE WYSIWYG html javascript editor into an easy to use TG widget.
To install: $ svn co http://svn.toscat.net/TurboMiscStuff/TinyMCE TinyMCE $ cd TinyMCE $ sudo easy_install . You can check it out at the widgets browser by launching the toolbox: $ tg-admin toolbox And incorporate it into your forms by: from tinymce import TinyMCE MyFormFields(WidgetsList): text = TinyMCE() You can customize it's behavior by passing a dict with extra options at the mce_options parameter (only at construction time): t = TinyMCE("text", mce_options = dict(language='es')) (Check out TinyMCE's docs at http://tinymce.moxiecode.com/tinymce/ docs/index.html to see all the available options) Any feedback appreciated, specially bug reports. Enjoy, Alberto P.S Due to TinyMCEs original license this package is released with the LGPL license. Be sure to understand it's implications before redistributing any app that uses this egg. I'm not a license expert so I'm not the one to ask for advice on this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk -~----------~----~----~----~------~----~------~--~---
