title: How do I customize the number of rows in my rich_text_area for simple_form?
body: <p>I am using <code>SimpleForm 5.0.2</code> along with ActionText.</p>
  
  <p>I would like the main body field of my form to be multiple rows (say 10), but I can't figure out how to get it to work.</p>
  
  <p>This is my current attempt:</p>
  
  <pre><code>&lt;%= f.rich_text_area :body, class: 'form-control', name: "article-text", input_html: { rows: 10 }, placeholder: "Enter your article body here..." %&gt;
  </code></pre>
  
  <p>That produces this HTML:</p>
  
  <pre><code>&lt;trix-editor class="form-control" input_html="{:rows=&gt;10}" placeholder="Enter your article body here..." id="article_body" input="article_body_trix_input_article" data-direct-upload-url="http://localhost:3000/rails/active_storage/direct_uploads" data-blob-url-template="http://localhost:3000/rails/active_storage/blobs/:signed_id/:filename" contenteditable="" role="textbox" trix-id="1" toolbar="trix-toolbar-1"&gt;&lt;/trix-editor&gt;
  </code></pre>
  
  <p>Which looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/dqzHc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dqzHc.png" alt="simple-form-rich-text-area"></a></p>
  
  <p>Note that I also tried various iterations of <code>input_html:</code>, including but not limited to:</p>
  
  <pre><code>&lt;%= ... input_html: { 'rows': '10' } ... %&gt;
  
  &lt;%= ... input_html: { rows: "10" } ... %&gt;
  </code></pre>
  
  <p>All to no avail.</p>
  
  <p>How do I get this working?</p>