The idea behind the tinyMCE widget (like any other js widget) is bad. It's javascript! All you need is include it and refer to correct id/ class in DOM, no need to use php for that.
cheers Massimiliano On 22 Mag, 17:59, godbout <guillaume.lecler...@gmail.com> wrote: > Hi! > > I've got some problems to make the tinyMCE jQuery works. I've > installed the FormExtra plugin, edited the view YAML, and used the > widget. I have a javascript error telling me that .tinyMCE is not > declared and by checking the javascript I can see that it refers to > the basic tinyMCE javascript but not to the jQuery one. The thing is > then, I guess I have to extend the tinyMCE widget that is coming with > FormExtra, but I have no idea how to do that. > > Do I have to create a new widget that extend the tinyMCE? > Where do I put the new class files? > > I've read some stuff and I kind of understand I need to create the > configure and render class, but I can't find a really good explanation > in the docs. > > Thanks in advance! > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en