On Sat, 2007-02-06 at 21:25 -0700, asm wrote:
> Part of the joy of widgets is that they co-ordinate the
> inclusion of Javascript and CSS automagically.
> 
> > Thanks for the doc. I've been following it however, and I don't see any
> > difference from a text area in my widget when I view the form. Is there
> > someplace that I should be including some javascript files?
> 
> TinyMCE takes a textarea and then lets Javascript do lots of 'stuff'.
> 
> Is it possible that Javascript is disabled on your browser?
> 
> It concerns me that you aren't getting the right result from my doc;
> if/when
> you get to the bottom of this - please let me know (or say so here).

I'm not sure what's up, but the js is definitely not getting included in
the widget. Would the fact that I am using the tinymce inside a custom
widget change things? I have a class that inherits from TableForm and
uses tinymce inside the fields list. When I view the widget it looks
just like a text area and the tinymce script tag generates a javascript
error in my firebug:

"tinyMCE is not defined"

Thanks
Iain


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to