Hi, I''m using TinyMce with Rails 3 to input rich text. when i enter a text into tinymce editor , the text is saved in the database as <p> text </p> so a p tag is added to the text!!. i need some help Best regards. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Isn''t that what tinymce is suppose to do? On Apr 30, 8:18 pm, heithem nouira <heithem.nou...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > I''m using TinyMce with Rails 3 to input rich text. > when i enter a text into tinymce editor , the text is saved in the > database as <p> text </p> so a p tag is added to the text!!. > i need some help > Best regards.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
Did you try to use ''raw''? for exemple <%= raw text %> raw cut the css in the sentence. This is what you need?!?!? 2011/5/1 ben <bfkelsey-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> Isn''t that what tinymce is suppose to do? > > On Apr 30, 8:18 pm, heithem nouira <heithem.nou...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi, > > I''m using TinyMce with Rails 3 to input rich text. > > when i enter a text into tinymce editor , the text is saved in the > > database as <p> text </p> so a p tag is added to the text!!. > > i need some help > > Best regards. > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Carina Brito Silva http://twitter.com/carinabs8 http://carinabs8.wordpress.com/ "...Estou disposto a demolir paredes,contruir pontes e acender fogueiras. Tenho uma grande experiência,um monte de energia,um pouco dessa coisa de ''visão'' e não tenho medo de começar do zero."-Steve Jobs -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
ops:raw get a html generated and apply as html not as text 2011/5/3 Carina Brito <carinabs8-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> Did you try to use ''raw''? for exemple <%= raw text %> raw cut the css in > the sentence. This is what you need?!?!? > > 2011/5/1 ben <bfkelsey-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > >> Isn''t that what tinymce is suppose to do? >> >> On Apr 30, 8:18 pm, heithem nouira <heithem.nou...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > Hi, >> > I''m using TinyMce with Rails 3 to input rich text. >> > when i enter a text into tinymce editor , the text is saved in the >> > database as <p> text </p> so a p tag is added to the text!!. >> > i need some help >> > Best regards. >> >> -- >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > > > -- > Carina Brito Silva > http://twitter.com/carinabs8 > http://carinabs8.wordpress.com/ > "...Estou disposto a demolir paredes,contruir pontes e acender fogueiras. > Tenho uma grande experiência,um monte de energia,um pouco dessa coisa de > ''visão'' e não tenho medo de começar do zero."-Steve Jobs >-- Carina Brito Silva http://twitter.com/carinabs8 http://carinabs8.wordpress.com/ "...Estou disposto a demolir paredes,contruir pontes e acender fogueiras. Tenho uma grande experiência,um monte de energia,um pouco dessa coisa de ''visão'' e não tenho medo de começar do zero."-Steve Jobs -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
Hi, I''m sorry for late and thanks for your help Actually, this is what tinymce should do. But i discarded this issue when i discovered that i m not supposed to display data written with this editor. thanks a lot. On May 3, 4:46 am, Carina Brito <carina...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> ops:raw get a html generated and apply as html not as text > > 2011/5/3 Carina Brito <carina...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > > > Did you try to use ''raw''? for exemple <%= raw text %> raw cut the css in > > the sentence. This is what you need?!?!? > > > 2011/5/1 ben <bfkel...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > >> Isn''t that what tinymce is suppose to do? > > >> On Apr 30, 8:18 pm, heithem nouira <heithem.nou...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> > Hi, > >> > I''m using TinyMce with Rails 3 to input rich text. > >> > when i enter a text into tinymce editor , the text is saved in the > >> > database as <p> text </p> so a p tag is added to the text!!. > >> > i need some help > >> > Best regards. > > >> -- > >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >> For more options, visit this group at > >>http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > > Carina Brito Silva > >http://twitter.com/carinabs8 > >http://carinabs8.wordpress.com/ > > "...Estou disposto a demolir paredes,contruir pontes e acender fogueiras. > > Tenho uma grande experiência,um monte de energia,um pouco dessa coisa de > > ''visão'' e não tenho medo de começar do zero."-Steve Jobs > > -- > Carina Brito Silvahttp://twitter.com/carinabs8http://carinabs8.wordpress.com/ > "...Estou disposto a demolir paredes,contruir pontes e acender fogueiras. > Tenho uma grande experiência,um monte de energia,um pouco dessa coisa de > ''visão'' e não tenho medo de começar do zero."-Steve Jobs-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.