[Rails] Fraola wysiwyg editor

2018-04-10 Thread fugee ohu
Their docs say 

   1. 
   2. 
   3. 


   
   So then how does the tag  have it's value become the value of 
   the input field which is omitted from the example What about the input 
   field, where is it?

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/95db6747-1d6a-4a75-910c-df54ed07d773%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Rails] Fraola wysiwyg editor gem

2018-04-10 Thread 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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.