Hi there,
I thought I got Dojo working with rails but I was wrong. When I have a text_area set-up as:
<%= f.text_area :content %>
Generated HTML: <textarea cols="40" id="content_content" name="content[content]" rows="20"></textarea>
The form submits fine and the content is sent to the controller. However when I use the following:
<%= f.text_area :content, {:dojoType => 'dijit.Editor', :class => 'dojoEditor'} %>
Generated HTML: <textarea class="dojoEditor" cols="40" dojoType="dijit.Editor" id="content_content" name="content[content]" rows="20"></textarea>
The form is submitted but, the content is not submitted. Has anyone worked with rails and Dojo, specifically the rich editor, and found a way to make this work?
Thanks, Schalk