I have forums in my web. I have a field in my database in my posts table that is a textarea. I would like to save things like press enter or use bold when I write a message in the forum, but it is not possible only with what an scaffold gives. I think there are some javascripts that can help. Which is the best idea? Thanks a lot for helping me. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
pode tentar colocar tinymce ou xinha. são 2 WYSIWYG. On Fri, Feb 13, 2009 at 4:14 PM, John Smith <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I have forums in my web. I have a field in my database in my posts table > that is a textarea. > I would like to save things like press enter or use bold when I write a > message in the forum, but it is not possible only with what an scaffold > gives. > I think there are some javascripts that can help. Which is the best > idea? > > Thanks a lot for helping me. > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sorry, sleepy friday, need coffee: You could try to use tinymce or xinha. these are both WYSIWYG editors. On Fri, Feb 13, 2009 at 4:16 PM, Mathieu Rousseau <mathieu.rousseau.31-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> pode tentar colocar tinymce ou xinha. são 2 WYSIWYG. > > > > On Fri, Feb 13, 2009 at 4:14 PM, John Smith > <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> I have forums in my web. I have a field in my database in my posts table >> that is a textarea. >> I would like to save things like press enter or use bold when I write a >> message in the forum, but it is not possible only with what an scaffold >> gives. >> I think there are some javascripts that can help. Which is the best >> idea? >> >> Thanks a lot for helping me. >> -- >> Posted via http://www.ruby-forum.com/. >> >> >> >> >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Look at Textile or Markdown to make it really simple. I think there might be a javascript editor to add the tags for you, but I would recommend one of those two for simplicity''s sake. On Feb 13, 12:14 pm, John Smith <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I have forums in my web. I have a field in my database in my posts table > that is a textarea. > I would like to save things like press enter or use bold when I write a > message in the forum, but it is not possible only with what an scaffold > gives. > I think there are some javascripts that can help. Which is the best > idea? > > Thanks a lot for helping me. > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---