title: Rails - Resizing f.text_area and word wrap for Redactor Text Editor
body: <p>For my application, I am using Redactor Rails. Using form_for, my current input using redactor is as follows:</p>
  
  <pre><code>&lt;%= f.text_area :content, label: "Blog Updates", :class =&gt; "redactor", :cols =&gt; 100, :rows =&gt; 100 %&gt;
  </code></pre>
  
  <p>No matter what I do in :cols or :rows, nothing changes the width and column (i.e. :input_html, :cols =>'x', etc). I have also seen responses in posts such as this: <a href="https://stackoverflow.com/questions/4223931/rails-text-area-size">Rails text_area size</a>.</p>
  
  <p><strong>Question 1: How do I change the height and width of the text area? Is it possible to restrict it so it just scrolls down when there is more content than initial box size instead of having the box expand?</strong></p>
  
  <p>Also, if I were to type one long sentence with no break, then the box right now expands to the right beyond the screen until I press <code>enter</code> to go to the next line.  </p>
  
  <p><strong>Question 2: Can I word-wrap the content inside the text editor so that the width is fixed and the text continues onto the next row if the one line is too long?</strong></p>
  
  <p>Thanks.</p>