TinyMCE class accepts javascript named parameter.
So to use newest version do the following:

localTinyMCE = JSLink(
    init = js_function('tinyMCE.init'),
    link = '/javascript/tiny_mce/tiny_mce_src.js',
)
widget = TinyMCE(widget_id, mce_options = dict(
        ...
    ), javascript=[localTinyMCE])
 

Вівторок, 17 квітня 2012 р. 12:29:09 UTC+3 користувач lebouquetin написав:
>
> Hello,
>
> I'd like to include a rich text editing widget in some forms. The 
> widgets I found are base on tw2 or it's tw.tinymce which is based on a 
> 2007 Tiny MCE release! (this is the v2.0.9 while TinyMCE is now at 3.4.9)
>
> Anybody having a more recent widget? Or a tutorial for parametering that 
> old widget (and this old release of TinyMCE)?
>
> Damien
>
>
Вівторок, 17 квітня 2012 р. 12:29:09 UTC+3 користувач lebouquetin написав:
>
> Hello,
>
> I'd like to include a rich text editing widget in some forms. The 
> widgets I found are base on tw2 or it's tw.tinymce which is based on a 
> 2007 Tiny MCE release! (this is the v2.0.9 while TinyMCE is now at 3.4.9)
>
> Anybody having a more recent widget? Or a tutorial for parametering that 
> old widget (and this old release of TinyMCE)?
>
> Damien
>
>
Вівторок, 17 квітня 2012 р. 12:29:09 UTC+3 користувач lebouquetin написав:
>
> Hello,
>
> I'd like to include a rich text editing widget in some forms. The 
> widgets I found are base on tw2 or it's tw.tinymce which is based on a 
> 2007 Tiny MCE release! (this is the v2.0.9 while TinyMCE is now at 3.4.9)
>
> Anybody having a more recent widget? Or a tutorial for parametering that 
> old widget (and this old release of TinyMCE)?
>
> Damien
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/XqUqxdj5-XwJ.
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