spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

Problem on saving #216

Closed AndreLZGava closed 7 years ago

AndreLZGava commented 7 years ago

I've installed TinyMCE on my RoR aplication, now when I save something that show me as code like <p>This is a paragraph </p>. I've already used TiniMCE on a PHP application a time ago, and that shows text in the right form. Is there something that I must do to my rails App consider just the text, and understant what is HTML tag should be displayed as HTML?

AndreLZGava commented 7 years ago

Actually on display the result I must use raw before the variable like: raw @person.speeach