Fraola wysiwyg editor gem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fraola wysiwyg editor gem

fugee ohu
I'm trying to use Fraola gem For the textarea field i left it as it was and just gave it an id The docs said create a div and give it the textarea or otherwise id in this case would be 'post_body' The way I have it set up there's no element to be filled by js The docs say to just use a div but then how would the input be applied to the field if i just used a div

<%= f.text_area :body, placeholder: t(:write_something_here, scope: 'blogit.posts'), id: "post_body" %>


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9cffd3be-aa43-4fd0-a67d-12c804ce7a16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.