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
text
so a p tag is added to the text!!.i need some help
Best regards.
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
text
so a p tag is added to the text!!.Isn’t that what tinymce is suppose to do?
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 [email protected]
–
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” 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/rubyonrails-talk?hl=en.
–
Carina B. Silva
http://twitter.com/carinabs8
“…Estou disposto a demolir paredes,contruir pontes e acender
fogueiras.
Tenho uma grande experincia,um monte de energia,um pouco dessa coisa de
‘viso’ e no tenho medo de comear do zero.”-Steve Jobs
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.
ops:raw get a html generated and apply as html not as text
2011/5/3 Carina B. [email protected]
when i enter a text into tinymce editor , the text is saved in the
For more options, visit this group at
Tenho uma grande experincia,um monte de energia,um pouco dessa coisa de
‘viso’ e no tenho medo de comear do zero."-Steve Jobs
–
Carina B. Silva
http://twitter.com/carinabs8
“…Estou disposto a demolir paredes,contruir pontes e acender
fogueiras.
Tenho uma grande experincia,um monte de energia,um pouco dessa coisa de
‘viso’ e no tenho medo de comear do zero.”-Steve Jobs
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs