On Martes, 2 de Junio de 2009 17:27:22 Carl Anderson escribió: > This might be exactly what I was looking for. It seemed like it was going > to be difficult to get the text areas to use something like this, but the > file you attached sounds like it should make it easier. The only thing is > I'm unsure of where to put that file and if I need to call the methods from > somewhere to activate it, etc? > > Carl
You can add that file in lib, and add require 'tiny_mce_active_scaffold' at bottom of environment.rb After, you can use the form_ui :text_editor in columns you want use tiny_mce. You must load tiny_mce javascript in your layout, manually or using the plugin http://github.com/kete/tiny_mce/tree/master Does someone wants I add a bridge in ActiveScaffold for tiny_mce? > > On Tue, Jun 2, 2009 at 12:16 AM, Sergio Cambra .:: entreCables S.L. ::. < > > [email protected]> wrote: > > On Lunes, 1 de Junio de 2009 20:41:21 Ed W escribió: > > > Sergio Cambra .:: entreCables S.L. ::. wrote: > > > > On Sábado, 30 de Mayo de 2009 19:25:59 Carl escribió: > > > > > I need my users to be able to add some markup to the text they > > > > > enter in my app so that is isn't just plain text but I've never > > > > > bothered with that before. Does anyone have any solutions that they > > > > > felt > > > > worked > > > > > > > really well? I see so many options, textile, markdown, etc but I > > > > don't > > > > > > > know what to choose. I need them to be able to easily do things > > > > > like bold text, italics, new paragraph, link to pages, images, etc. > > > > > All preferably a lot easier than teaching them html as some of them > > > > > are not very technical, and their are potential security risks, or > > > > course. > > > > > > > Any suggestions would be great welcome, even if it is "Don't use > > > > > <this>, I had a lot of problems with it!" etc. > > > > > > > > I use tinymce: > > > > http://tinymce.moxiecode.com/ > > > > > > I was about to investigate adding a "bridge" for tinymce, perhaps based > > > on this (although I haven't studied it closely yet) > > > > > > http://github.com/kete/tiny_mce/tree/master > > > > > > Do you have any comments or notes based on your experiences? > > > > I use an old version of that plugin (I take it from svn, I didn't know > > that repository) with some methods to integrate in ActiveScaffold. It's > > not a bridge, but it can be converted in a bridge and included in > > ActiveScaffold (or make a plugin). I attach it here. > > > > > > -- > > Sergio Cambra .:: entreCables S.L. ::. > > Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza > > T) 902 021 404 F) 976 52 98 07 E) [email protected] > > -- Sergio Cambra .:: entreCables S.L. ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
