Ruby on Rails
Monday, April 28, 2014
Hi buddy!
Thanks a lot for replying.
But the parameters in the log also not showing the html and it is
Parameters: {"utf8"=>"✓", "authenticity_token"=>"P7fHbeUQlcCaV3MK2g+Qu6h/CmhM8+g6SOHzqjEuoPI=", "request"=>{"title"=>"Title", "date"=>"2014/4/30", "time"=>"4:15 PM", "desc"=>"Bold"}, "_wysihtml5_mode"=>"1", "commit"=>"Add Request"}
When i examine the saved data in db it is just plain text.
On Monday, 28 April 2014 19:52:07 UTC+5:30, Hassan Schroeder wrote:
-- Thanks a lot for replying.
But the parameters in the log also not showing the html and it is
Parameters: {"utf8"=>"✓", "authenticity_token"=>"P7fHbeUQlcCaV3MK2g+Qu6h/CmhM8+g6SOHzqjEuoPI=", "request"=>{"title"=>"Title", "date"=>"2014/4/30", "time"=>"4:15 PM", "desc"=>"Bold"}, "_wysihtml5_mode"=>"1", "commit"=>"Add Request"}
When i examine the saved data in db it is just plain text.
On Monday, 28 April 2014 19:52:07 UTC+5:30, Hassan Schroeder wrote:
On Mon, Apr 28, 2014 at 5:35 AM, Joy Ganguly <tech.tu...@gmail.com> wrote:
> i am using wysiwyg editor
> (https://github.com/schnawel007/bootstrap3- ) within form, but whenwysihtml5
> submitting the form the data with the html tags is not saved
The editor doesn't "save" anything - your code does.
Does the form submission event in your logs show the html? Then
the editor has done its job.
What do you see when you examine the saved data in the db?
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
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+unsubscribe@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/efda6a7a-b8e3-4cbd-b563-0c4fccd08343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment